Skip to content
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

CLI Integrated Authentication #626

Open
bdwyertech opened this issue Jan 22, 2022 · 0 comments
Open

CLI Integrated Authentication #626

bdwyertech opened this issue Jan 22, 2022 · 0 comments

Comments

@bdwyertech
Copy link

bdwyertech commented Jan 22, 2022

Add support for consuming Azure credentials from ~/.azure and/or retrieve access key by shelling out to az

Context

It would be much better to leverage the CLI token provider to automatically retrieve a properly scoped access token so end-users don't have to. kitchen-azurerm already does this.

Possible Implementation

I see that this is lightweight and does not pull in any Azure SDK. Thats fine, the logic can be stolen directly from the SDK

https://github.com/Azure/azure-sdk-for-ruby/blob/master/runtime/ms_rest_azure/lib/ms_rest_azure/credentials/azure_cli_token_provider.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant