-
Notifications
You must be signed in to change notification settings - Fork 319
Open
Labels
customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.Workflow: This is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
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.
Metadata
Metadata
Assignees
Labels
customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.Workflow: This is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Projects
Status
Untriaged