@azure/identity 4.5.0-alpha.20241011.1 → 4.5.0-alpha.20241015.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -14
- package/package.json +1 -1
package/README.md
CHANGED
@@ -122,20 +122,7 @@ See [Credential Classes](#credential-classes).
|
|
122
122
|
|
123
123
|
### DefaultAzureCredential
|
124
124
|
|
125
|
-
`DefaultAzureCredential`
|
126
|
-
|
127
|
-
> Note: `DefaultAzureCredential` is intended to simplify getting started with the SDK by handling common scenarios with reasonable default behaviors. Developers who want more control or whose scenario isn't served by the default settings should use other credential types.
|
128
|
-
|
129
|
-
If used from Node.js, `DefaultAzureCredential` attempts to authenticate via the following mechanisms in order:
|
130
|
-
|
131
|
-
![DefaultAzureCredential authentication flow][defaultauthflow_image]
|
132
|
-
|
133
|
-
1. **Environment** - `DefaultAzureCredential` reads account information specified via [environment variables](#environment-variables) and uses it to authenticate.
|
134
|
-
1. **Workload Identity** - If the application is deployed to Azure Kubernetes Service with Managed Identity enabled, `DefaultAzureCredential` authenticates with it.
|
135
|
-
1. **Managed Identity** - If the application is deployed to an Azure host with Managed Identity enabled, `DefaultAzureCredential` authenticates with that account.
|
136
|
-
1. **Azure CLI** - If the developer authenticated an account via the Azure CLI `az login` command, `DefaultAzureCredential` authenticates with that account.
|
137
|
-
1. **Azure PowerShell** - If the developer authenticated using the Azure PowerShell module `Connect-AzAccount` command, `DefaultAzureCredential` authenticates with that account.
|
138
|
-
1. **Azure Developer CLI** - If the developer authenticated an account via the Azure Developer CLI `azd auth login` command, `DefaultAzureCredential` authenticates with that account.
|
125
|
+
`DefaultAzureCredential` simplifies authentication while developing apps that deploy to Azure by combining credentials used in Azure hosting environments with credentials used in local development. For more information, see [DefaultAzureCredential overview](https://aka.ms/azsdk/js/identity/credential-chains#use-defaultazurecredential-for-flexibility).
|
139
126
|
|
140
127
|
#### Continuation policy
|
141
128
|
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/identity",
|
3
3
|
"sdk-type": "client",
|
4
|
-
"version": "4.5.0-alpha.
|
4
|
+
"version": "4.5.0-alpha.20241015.2",
|
5
5
|
"description": "Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID",
|
6
6
|
"main": "dist/index.js",
|
7
7
|
"module": "dist-esm/src/index.js",
|