-
Notifications
You must be signed in to change notification settings - Fork 320
Open
Labels
KeyVaultKey VaultKey Vaultblocking-releaseBlocks releaseBlocks releasecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.
Milestone
Description
Bug Title
No response
Crate Name
azure_security_keyvault_secrets
Crate Version
0.9.0
Description
Current secret client has a fixed auth policy restricting the access to Azure Government
- create secret on keyvault for Azure Gov
- Instantiate a client for Azure Goverment cloud
- Try to get the secret using get_secret method
- it fails with the following message: The requested identity hasn’t been assigned to this resource.
The code responsible for the error:
Lines 71 to 74 in 7583705
| let auth_policy: Arc<dyn Policy> = Arc::new(BearerTokenAuthorizationPolicy::new( | |
| credential, | |
| vec!["https://vault.azure.net/.default"], | |
| )); |
Steps to Reproduce
- create secret on keyvault for Azure Gov
- Instantiate a client for Azure Goverment cloud
- Try to get the secret using get_secret method
- it fails with the following message: The requested identity hasn’t been assigned to this resource.
Checklist
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
MatthewYaegerTR
Metadata
Metadata
Assignees
Labels
KeyVaultKey VaultKey Vaultblocking-releaseBlocks releaseBlocks releasecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.
Type
Projects
Status
In Progress
Status
In Progress