Handle double data field in API v2
This commit is contained in:
parent
de65d363fc
commit
09c7076e79
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue