"AKV10000: Request is missing a Bearer or PoP token." #24557
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
KeyVault
needs-team-triage
Workflow: This issue needs the team to triage.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
When trying to to retrieve a secret using
DefaultAzureCredential()
fromazure.identity
as credential the argumentclient = SecretClient(vault_url=key_vault_url, credential=credential)
get error{"error":{"code":"Unauthorized","message":"AKV10000: Request is missing a Bearer or PoP token."}}
To Reproduce
Steps to reproduce the behavior:
DefaultAzureCredential()
, (Ive tested CLI, Powershell, and SP) withSecretClient
to retrieve a secretExpected behavior
To be able to retrieve a secret from KeyVault / for
SecretClient
to extract and pass the token fromDefaultAzureCredential()
Screenshots
The text was updated successfully, but these errors were encountered: