You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After reading the source code of the Azure SDK and looking at what triggered each MSI type of lookup I removed IDENTITY_ENDPOINT and IMDS_ENDPOINT to have a file that looks like:
services:
my-app:
build: .depends_on:
- azure-cli-proxyenvironment:
- "MSI_ENDPOINT=http://azure-cli-proxy:8080/token"azure-cli-proxy:
image: workleap/azure-cli-credentials-proxy:1.1.0ports:
- "8080:8080"volumes:
- "$HOME/.azure:/app/.azure/"#- "\\\\wsl$\\<DISTRONAME>\\home\\<USERNAME>\\.azure\\:/app/.azure/" # Uncomment on Windows with WSL
and that worked.
I'm not sure how generic across the SDKs the solution is but if it works across multiple then maybe just MSI_ENDPOINT should be specified?
My app just uses the Default Token credential that is recommended.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Documented option should work out of the box
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
I also tried:
After reading the source code of the Azure SDK and looking at what triggered each MSI type of lookup I removed
IDENTITY_ENDPOINT
andIMDS_ENDPOINT
to have a file that looks like:and that worked.
I'm not sure how generic across the SDKs the solution is but if it works across multiple then maybe just
MSI_ENDPOINT
should be specified?My app just uses the Default Token credential that is recommended.
The text was updated successfully, but these errors were encountered: