-
Notifications
You must be signed in to change notification settings - Fork 207
Support Managed Identity (formerly known as MSI) #58
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
Comments
Currently the MSI support is in scope of Azure SDKs. Closing this for now. |
Moved from AzureAD/microsoft-authentication-library-for-dotnet#2806 (comment) Getting a certificate for VM SSHAs Azure CLI developer, another scenario I would like to bring out is VM SSH which requires getting a certificate through the Why Azure CLI dropped Azure IdentityAzure Identity has explicitly dropped
This of course introduces unnecessary duplication, as Azure CLI will have to work dual-stack-ly. If Azure CLI can get a certificate from MSAL, why can't it use the same flow to get an access token from MSAL? After careful consideration, Azure CLI dropped Azure Identity and directly uses MSAL. Even for managed identity, Azure CLI will not use Azure Identity given there will be no The current libraries Azure CLI beta uses are
Possible solutions for supporting managed identityAs msrestazure as been deprecated as well, Azure CLI must move away from msrestazure. Possible solutions:
Additional informationPer How to use managed identities for Azure resources on an Azure VM to acquire an access token
managed identity's endpoint has some limitations:
Reference email: VM SSH with managed identity |
By the way, the name "MSI" has been deprecated: https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
|
@jiasli From what you posted about
Are you implying that managed identity is using ADAL? Are there any updates since ADAL is migrating into MSAL and ADAL will be deprecated on June 30, 2022? |
Actually, they are independent with each other. It was just that Managed Identity protocol and ADAL design happened to be created in around the same era therefore shared some concepts.
Neither ADAL Python nor MSAL Python supports Managed Identity. This issue remains open so that we can keep track of this feature requirement for MSAL Python. |
@rayluo - is this not done? |
Some resources below:
(UPDATE at 2020: It still does not support Managed Identity, even though that FAQ was later removed from that doc page.)
resource
parameter, and the outputexpires_in
is in string (rather than integer). There is a pending workitem to support AADv2.The text was updated successfully, but these errors were encountered: