-
Notifications
You must be signed in to change notification settings - Fork 797
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
Add support for Azure Stack HCI IMDS Identity/token endpoint #22894
Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
Thanks for opening this issue! Azure Arc has a unique protocol for managed identity authentication. If Azure Stack HCI's protocol is truly identical to IMDS's, then you don't want to imitate Arc, only override azidentity's hardcoded IMDS endpoint. That isn't possible today, however it is possible in Azure SDK authentication libraries for other languages and we could implement their solution here. The way it works for e.g. the Azure SDK for Python is the managed identity client uses the value of environment variable That said, I have a couple questions:
|
Feature Request
My team owns the IMDS endpoint for Azure Stack HCI. Recently, we were working with another Azure team as they tried to implement MSI authentication utilizing our endpoint and it does not seem to be supported.
After that team and I looked through the code we see that support for our endpoint would work if not for the constant definition of the endpoint, and attempting to set environment variables so that the "HIMDS" code flow triggered also fails because of getAzureArcSecret().
The response for our endpoint is the same as Azure IMDS endpoint and contains an access token. And like Arc/HIMDS we also only support system-assigned identities (not user-defined). I am happy to engage in further talks if needed so that support can be brought to the Azure sdk.
The text was updated successfully, but these errors were encountered: