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

Preview implementation of AzureCliCredential #10092

Merged
merged 17 commits into from
Mar 9, 2020
Merged

Preview implementation of AzureCliCredential #10092

merged 17 commits into from
Mar 9, 2020

Conversation

chlowell
Copy link
Member

@chlowell chlowell commented Mar 3, 2020

This credential gets tokens by subprocessing the Azure CLI's get-access-token command, and is part of DefaultAzureCredential.

@chlowell chlowell added Client This issue points to a problem in the data-plane of the library. Azure.Identity labels Mar 3, 2020
@chlowell chlowell requested a review from schaabs as a code owner March 3, 2020 23:25
@chlowell chlowell self-assigned this Mar 3, 2020
@adxsdk6
Copy link

adxsdk6 commented Mar 3, 2020

Can one of the admins verify this patch?

## 1.3.1 (Unreleased)
## 1.4.0b1 (Unreleased)
- Added `AzureCliCredential`, which authenticates with the identity logged in
to the Azure CLI. This credential is part of `DefaultAzureCredential` by
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sync with rest of lang devs to ensure we are on the same page across langs on whether or not DAC has CLICred by default.

I highly prefer it to be enabled by default so developer doesn't have to do anything to configure it.

lmazuel
lmazuel previously approved these changes Mar 6, 2020
Copy link
Member

@lmazuel lmazuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fair to me

schaabs
schaabs previously approved these changes Mar 6, 2020
@chlowell chlowell merged commit aecf20b into master Mar 9, 2020
@chlowell chlowell deleted the cli_credentials branch March 9, 2020 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants