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

Improve IMDS error diagnosability #19510

Closed
chlowell opened this issue Nov 7, 2022 · 0 comments · Fixed by #21351
Closed

Improve IMDS error diagnosability #19510

chlowell opened this issue Nov 7, 2022 · 0 comments · Fixed by #21351
Labels
Azure.Identity feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@chlowell
Copy link
Member

chlowell commented Nov 7, 2022

ManagedIdentityCredential.GetToken() returns a credentialUnavailableError when IMDS returns a 400 response. credentialUnavailableError doesn't carry the raw response, preventing applications from programmatically inspecting it. The error type is correct--a 400 from IMDS mustn't be fatal when iterating a chain of credentials--but the response, if any, should be exposed to the application.

@chlowell chlowell added Azure.Identity feature-request This issue requires a new behavior in the product in order be resolved. labels Nov 7, 2022
@chlowell chlowell added this to the Backlog milestone Nov 7, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2023
@RickWinter RickWinter removed this from the Backlog milestone Dec 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Identity feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants