Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AzureCliCredential is unavailable when no account is logged in #11829

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

chlowell
Copy link
Member

@chlowell chlowell commented Jun 4, 2020

This fixes #11819 by ensuring the credential raises CredentialUnavailableError when no account is logged in to the CLI, prompting ChainedTokenCredential to continue to its next credential.

@chlowell chlowell added Client This issue points to a problem in the data-plane of the library. Azure.Identity labels Jun 4, 2020
@chlowell chlowell requested a review from xiangyan99 June 4, 2020 23:52
@chlowell chlowell requested a review from schaabs as a code owner June 4, 2020 23:52
@chlowell chlowell merged commit 717c419 into Azure:master Jun 5, 2020
@chlowell chlowell deleted the must-login branch June 5, 2020 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AzureCliCredential interrupts credential chain if Azure CLI is not logged in
2 participants