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

View File

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