-
Notifications
You must be signed in to change notification settings - Fork 19
Unauthorized exception #6
Description
I am trying to follow your example of retrieving secrets from the key-vault through the python SDK and I am getting back an Unauthorized error.
Navigating to the portal I am able to see secrets, but executing the python script featured in example.py throws as below: (I am logged in through az login and can verify that I see the subscription that has the deployed keyvault)
File "C:\ProgramData\Anaconda3\lib\site-packages\azure\core\tracing\decorator.py", line 62, in wrapper_use_tracer
return func(*args, **kwargs) # type: ignore
File "C:\ProgramData\Anaconda3\lib\site-packages\azure\keyvault\secrets_client.py", line 71, in get_secret
**kwargs
File "C:\ProgramData\Anaconda3\lib\site-packages\azure\keyvault\secrets_shared_generated\v7_0\operations_key_vault_client_operations.py", line 1626, in get_secret
raise models.KeyVaultErrorException(response, self._deserialize)
azure.keyvault.secrets._shared._generated.v7_0.models._models_py3.KeyVaultErrorException: (Unauthorized) AKV10032: Invalid issuer. Expected one of https://sts.windows.net/cdc.....
Not sure if it is related to: Azure/azure-sdk-for-js#6221