Handle double data field in API v2

This commit is contained in:
Ryan DeShone 2019-05-22 17:12:10 -04:00
parent de65d363fc
commit 09c7076e79
1 changed files with 1 additions and 0 deletions

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: