You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/identity/azure-identity/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
### Features Added
6
6
7
7
- Added `AzureDeveloperCredential` for Azure Developer CLI. ([#27916](https://github.com/Azure/azure-sdk-for-python/pull/27916))
8
+
- Added `WorkloadIdentityCredential` for Workload Identity Federation on Kubernetes ([#28536](https://github.com/Azure/azure-sdk-for-python/pull/28536))
8
9
- Added support to use "TryAutoDetect" as the value for `AZURE_REGIONAL_AUTHORITY_NAME` to enable auto detecting the appropriate authority ([#526](https://github.com/AzureAD/microsoft-authentication-library-for-python/issues/526))
Copy file name to clipboardExpand all lines: sdk/identity/azure-identity/README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,13 +50,11 @@ authentication flow. This can also be selected manually by running `az login --u
50
50
51
51
#### Authenticate via the Azure Developer CLI
52
52
53
-
`DefaultAzureCredential` and `AzureDeveloperCliCredential` can authenticate as the user
54
-
signed in to the [Azure Developer CLI][azd_cli]. To sign in to the Azure Developer CLI, run
55
-
`azd login`. On a system with a default web browser, the Azure Developer CLI will launch
56
-
the browser to authenticate a user.
53
+
Developers coding outside of an IDE can also use the [Azure Developer CLI][azure_developer_cli] to authenticate. Applications using the `DefaultAzureCredential` or the `AzureDeveloperCliCredential` can then use this account to authenticate calls in their application when running locally.
54
+
55
+
To authenticate with the [Azure Developer CLI][azure_developer_cli], users can run the command `azd login`. For users running on a system with a default web browser, the Azure Developer CLI will launch the browser to authenticate the user.
57
56
58
-
When no default browser is available, `azd login` will use the device code
59
-
authentication flow. This can also be selected manually by running `azd login --use-device-code`.
57
+
For systems without a default web browser, the `azd login --use-device-code` command will use the device code authentication flow.
60
58
61
59
## Key concepts
62
60
@@ -82,7 +80,9 @@ this library's credential classes.
1.**Environment** - `DefaultAzureCredential` will read account information specified via [environment variables](#environment-variables"environment variables") and use it to authenticate.
83
+
1.**Workload Identity** - If the application is deployed to an Azure Kubernetes service with Managed Identity enabled, `DefaultAzureCredential` will authenticate with it.
85
84
1.**Managed Identity** - If the application is deployed to an Azure host with Managed Identity enabled, `DefaultAzureCredential` will authenticate with it.
85
+
1.**Azure Developer CLI** - If the developer has authenticated via the Azure Developer CLI `azd login` command, the `DefaultAzureCredential` will authenticate with that account.
86
86
1.**Azure CLI** - If a user has signed in via the Azure CLI `az login` command, `DefaultAzureCredential` will authenticate as that user.
87
87
1.**Azure PowerShell** - If a user has signed in via Azure PowerShell's `Connect-AzAccount` command, `DefaultAzureCredential` will authenticate as that user.
88
88
1.**Interactive browser** - If enabled, `DefaultAzureCredential` will interactively authenticate a user via the default browser. This is disabled by default.
@@ -400,6 +400,7 @@ additional questions or comments.
0 commit comments