Skip to content

[Identity] Handle Docker Desktop 403 IMDS response#31824

Merged
pvaneck merged 1 commit intoAzure:mainfrom
pvaneck:imds-403
Sep 7, 2023
Merged

[Identity] Handle Docker Desktop 403 IMDS response#31824
pvaneck merged 1 commit intoAzure:mainfrom
pvaneck:imds-403

Conversation

@pvaneck
Copy link
Copy Markdown
Member

@pvaneck pvaneck commented Aug 26, 2023

Closes: #31759

This also adds the response body to the error message if a status code of 400 is received from the endpoint to make the error message more helpful.

@azure-sdk
Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
@pvaneck pvaneck marked this pull request as ready for review September 7, 2023 01:16
@pvaneck pvaneck requested review from a team and xiangyan99 as code owners September 7, 2023 01:16
Comment thread sdk/identity/azure-identity/azure/identity/_credentials/imds.py
@pvaneck pvaneck merged commit 72f1e08 into Azure:main Sep 7, 2023
@pvaneck pvaneck deleted the imds-403 branch September 7, 2023 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

IMDS endpoint within Docker Desktop from a Linux container fails with 403

3 participants