fix output of value
This commit is contained in:
parent
2d455a7b49
commit
7cbd2b82f2
@ -11,7 +11,7 @@ def getSecret(keyVaultName, secretName):
|
||||
credential = DefaultAzureCredential()
|
||||
client = SecretClient(vault_url=KVUri, credential=credential)
|
||||
retrieved_secret = client.get_secret(secretName)
|
||||
return retrieved_secret
|
||||
return retrieved_secret.value
|
||||
except AzureError as e:
|
||||
raise LocalException(f"AzureError: <{e.__class__.__name__}> <{e}>")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user