Merge pull request #2795 from ardichoke/fix_vault_api_v2_append

Fix Certificate Appending With v2 Vault API
This commit is contained in:
Curtis 2019-05-29 12:49:36 -07:00 committed by GitHub
commit 6e4306b3bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -311,6 +311,7 @@ def get_secret(client, mount, path):
result = client.secrets.kv.v2.read_secret_version( result = client.secrets.kv.v2.read_secret_version(
path=path, mount_point=mount path=path, mount_point=mount
) )
result = result['data']
except ConnectionError: except ConnectionError:
pass pass
finally: finally: