-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Possible to support credentials from azure cli in DefaultAzureCredential? #8566
Comments
Hi @damienpontifex |
Thanks @lmazuel I'd be happy to contribute a change if there's guidance on the best way to do this. |
Thanks @damienpontifex , we are working on the design , I don't think this issue is the best one for contribution, but I will update this thread as soon as we have a candidate PR. |
FYI - We are still discussing this internally and should have an update soon. |
@jongio Hi. Is there any update for this issue? :) |
Thanks for checking in. We are discussing when to do a preview of this. Hopefully within the next couple of weeks, but we still have some remaining design to flesh out. I'll earmark this to update when we have something ready. |
Hi :) Any luck with this issue? It would be really nice to be able to use play with the SDK without having to create additional service accounts :( |
The first preview of |
Thanks @chlowell I did some initial testing with some KeyVault code I have and seems good so far :) Any idea when these credentials will also make their way to the python azure management libraries? e.g. DNS |
@damienpontifex - Just so you know the python version of AzureIdentityCredentialWrapper has been added to Azure Identity Extensions https://github.com/jongio/azidext#python We are still a ways from officially supporting Azure Identity in Mgmt plane libraries, but it is something we are actively working on. For now, we must use adapters. |
Thanks for opening this issue. I'm closing it now because the current preview version of azure-identity has this support. Please open another issue if you encounter problems using it. |
I noticed in SharedTokenCacheCredentials it only works on windows.
I used to use get_azure_cli_credentials and does the cli have a shared token cache across platforms?
It'd be great for
DefaultAzureCredential
to work using the logged in azure cli account when developing locally and then no code changes needed when deploying to Azure with managed identity.The text was updated successfully, but these errors were encountered: