Skip to content

Preview implementation of AzureCliCredential - #10092

Merged
Charles Lowell (chlowell) merged 17 commits into
masterfrom
cli_credentials
Mar 9, 2020
Merged

Charles Lowell (chlowell) merged 17 commits into
masterfrom
cli_credentials

Conversation

@chlowell

@chlowell Charles Lowell (chlowell) commented Mar 3, 2020 •

Copy link
Copy Markdown
Member

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

@adxsdk6

Copy link
Copy Markdown

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 Laurent Mazuel (lmazuel) left a comment

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.

Seems fair to me

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