Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Unauthorized exception #6

Open
sfilipi opened this issue Feb 3, 2020 · 0 comments
Open

Unauthorized exception #6

sfilipi opened this issue Feb 3, 2020 · 0 comments

Comments

@sfilipi
Copy link

sfilipi commented Feb 3, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant