Skip to content

Raise CredentialUnavailableError when shared cache is insufficient#10637

Merged
chlowell merged 2 commits intoAzure:masterfrom
chlowell:unavailable-credentials
Apr 3, 2020
Merged

Raise CredentialUnavailableError when shared cache is insufficient#10637
chlowell merged 2 commits intoAzure:masterfrom
chlowell:unavailable-credentials

Conversation

@chlowell
Copy link
Copy Markdown
Member

@chlowell chlowell commented Apr 2, 2020

When its cache is empty, ambiguous, or lacking an account matching a specified username and/or tenant, SharedTokenCacheCredential can't attempt to authenticate and should therefore raise CredentialUnavailableError.

Closes #10631

@chlowell chlowell added Client This issue points to a problem in the data-plane of the library. Azure.Identity labels Apr 2, 2020
@chlowell chlowell requested a review from xiangyan99 April 2, 2020 21:05
@chlowell chlowell requested a review from schaabs as a code owner April 2, 2020 21:05
@chlowell chlowell self-assigned this Apr 2, 2020
@chlowell chlowell merged commit fa9f1a3 into Azure:master Apr 3, 2020
@chlowell chlowell deleted the unavailable-credentials branch April 3, 2020 00:52
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.

SharedTokenCacheCredential should raise CredentialUnavailableError

2 participants