Skip to content

Credentials should distinguish misconfiguration from unavailability #8166

@chlowell

Description

@chlowell

Put another way, they should distinguish user-remediable errors. The value of this is primarily allowing chained credentials to short-circuit. For example, if a service principal is fully configured in environment variables and one of those values is incorrect, the user clearly intended the service principal to be used, so DefaultAzureCredential should not continue to attempt authenticating with a managed identity.

Metadata

Metadata

Assignees

Labels

Azure.IdentityClientThis issue points to a problem in the data-plane of the library.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions