-
Notifications
You must be signed in to change notification settings - Fork 437
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
Authentication with Azure CLI #1284
Comments
Hi @architshukla, Thanks for this suggestion. We are also looking into migrating from the current ADD authentication lib to @azure/identity. Will have a discussion with the team. Hi Arthur @arthurschreiber, do you have any thoughts on this. |
Hi, now that v13 is release and has migrated to @azure/identity, being able to authenticate with AzureCliCredentials or DefaultAzureCredentials would be helpful in enabling credential-less auth for development tasks such as running tests against a database locally. |
Hey @architshukla, how did you get this to work? Would you be able to provide a gist? |
🎉 This issue has been resolved in version 14.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Feature request to add support for getting AAD access tokens using Azure CLI.
Justification
The tedious library supports Azure Managed Identity, which removes the need to manage credentials in production applications and moves that responsibility to the platform. This feature request would extend this "credential-less" access to a developer's local environment.
Typically, developers are logged in with Azure CLI and libraries like
@azure/ms-rest-nodeauth
and@azure/identity
can use it to retrieve access tokens instead of having their application manage credentials.Proposed changes
azure-active-directory-azure-cli
.@azure/ms-rest-nodeauth
right now,AzureCliCredentials
will be used (sample usage).I have got it to work and I'm willing to contribute this functionality if the justification makes sense.
Challenges
The text was updated successfully, but these errors were encountered: