-
Notifications
You must be signed in to change notification settings - Fork 333
Closed
Labels
Azure.IdentityThe azure_identity crateThe azure_identity cratebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.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.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.Workflow: The Azure SDK team believes it to be addressed and ready to close.
Description
Bug Title
[Workload Identity] Azure CLI Not Installed
Crate Name
azure_identity
Crate Version
v0.22.0
Description
When using Workload Identity with the azure identity rust SDK, I am getting the following error in my service logs:
error getting token credential from Azure CLI - Azure CLI not installed
I didn't need to install the CLI on my NodeJS containers using the SDK. Just flagging in case I'm doing something wrong here.
Steps to Reproduce
- Rust code:
let credential = DefaultAzureCredential::new()?;
- Use Azure Workload Identity and run this code inside of a pod.
- Get the error listed above
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Azure.IdentityThe azure_identity crateThe azure_identity cratebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.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.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.Workflow: The Azure SDK team believes it to be addressed and ready to close.
Type
Projects
Status
Done
Status
Done