Skip to content

[Workload Identity] Azure CLI Not Installed #2305

@aiell0

Description

@aiell0

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

  1. Rust code:
let credential = DefaultAzureCredential::new()?;
  1. Use Azure Workload Identity and run this code inside of a pod.
  2. Get the error listed above

Checklist

Metadata

Metadata

Assignees

Labels

Azure.IdentityThe azure_identity cratebugThis 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.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.

Type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions