Skip to content

Preview implementation of AzureCliCredential#10092

Merged
chlowell merged 17 commits intomasterfrom
cli_credentials
Mar 9, 2020
Merged

Preview implementation of AzureCliCredential#10092
chlowell merged 17 commits intomasterfrom
cli_credentials

Conversation

@chlowell
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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

Comment thread sdk/identity/azure-identity/azure/identity/__init__.py Outdated
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