@azure/identity 4.7.1-alpha.20250305.1 → 4.7.1-alpha.20250307.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -16
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -264,7 +264,6 @@ Not all credentials require this configuration. Credentials that authenticate th
264
264
  | [`ClientCertificateCredential`](https://learn.microsoft.com/javascript/api/@azure/identity/clientcertificatecredential?view=azure-node-latest) | Authenticates a service principal using a certificate. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-service-principal-with-a-client-certificate) | [Service principal authentication](https://learn.microsoft.com/entra/identity-platform/app-objects-and-service-principals) |
265
265
  | [`ClientSecretCredential`](https://learn.microsoft.com/javascript/api/@azure/identity/clientsecretcredential?view=azure-node-latest) | Authenticates a service principal using a secret. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-service-principal-with-a-client-secret) | [Service principal authentication](https://learn.microsoft.com/entra/identity-platform/app-objects-and-service-principals) |
266
266
 
267
-
268
267
  ### Authenticate users
269
268
 
270
269
  | Credential | Usage | Example | Reference |
@@ -273,7 +272,6 @@ Not all credentials require this configuration. Credentials that authenticate th
273
272
  | [`DeviceCodeCredential`](https://learn.microsoft.com/javascript/api/@azure/identity/devicecodecredential?view=azure-node-latest) | Interactively authenticates a user on devices with limited UI. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-device-code-flow) | [Device code authentication](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-device-code) |
274
273
  | [`InteractiveBrowserCredential`](https://learn.microsoft.com/javascript/api/@azure/identity/interactivebrowsercredential?view=azure-node-latest) | Interactively authenticates a user with the default system browser. Read more about how this happens [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/interactive-browser-credential.md). | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-interactively-in-the-browser) | [OAuth2 authorization code](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-auth-code-flow) |
275
274
  | [`OnBehalfOfCredential`](https://learn.microsoft.com/javascript/api/@azure/identity/onbehalfofcredential?view=azure-node-latest) | Propagates the delegated user identity and permissions through the request chain | | [On-behalf-of authentication](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-on-behalf-of-flow) |
276
- | [`UsernamePasswordCredential`](https://learn.microsoft.com/javascript/api/@azure/identity/usernamepasswordcredential?view=azure-node-latest) | **Deprecated** - Authenticates a user with a username and password. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-username-and-password) | [Username + password authentication](https://learn.microsoft.com/entra/identity-platform/v2-oauth-ropc) |
277
275
 
278
276
  ### Authenticate via development tools
279
277
 
@@ -287,7 +285,7 @@ Not all credentials require this configuration. Credentials that authenticate th
287
285
 
288
286
  `DefaultAzureCredential` and `EnvironmentCredential` can be configured with environment variables. Each type of authentication requires values for specific variables.
289
287
 
290
- #### Service principal with secret
288
+ ### Service principal with secret
291
289
 
292
290
  | Variable name | Value |
293
291
  | --------------------- | ---------------------------------------------- |
@@ -295,7 +293,7 @@ Not all credentials require this configuration. Credentials that authenticate th
295
293
  | `AZURE_TENANT_ID` | ID of the application's Microsoft Entra tenant |
296
294
  | `AZURE_CLIENT_SECRET` | one of the application's client secrets |
297
295
 
298
- #### Service principal with certificate
296
+ ### Service principal with certificate
299
297
 
300
298
  | Variable name | Value |
301
299
  |---------------------------------------|--------------------------------------------------------------|
@@ -305,17 +303,6 @@ Not all credentials require this configuration. Credentials that authenticate th
305
303
  | `AZURE_CLIENT_CERTIFICATE_PASSWORD` | (optional) password of the certificate file, if any |
306
304
  | `AZURE_CLIENT_SEND_CERTIFICATE_CHAIN` | (optional) send certificate chain in x5c header to support subject name / issuer-based authentication |
307
305
 
308
- #### Username and password
309
-
310
- > **Warning**: Username and password authentication doesn't support multifactor authentication and is **deprecated**. For more details, see [Planning for mandatory multifactor authentication](https://aka.ms/azsdk/identity/mfa).
311
-
312
- | Variable name | Value |
313
- | ----------------- | ---------------------------------------------- |
314
- | `AZURE_CLIENT_ID` | ID of a Microsoft Entra application |
315
- | `AZURE_TENANT_ID` | ID of the application's Microsoft Entra tenant |
316
- | `AZURE_USERNAME` | a username (usually an email address) |
317
- | `AZURE_PASSWORD` | that user's password |
318
-
319
306
  Configuration is attempted in the preceding order. For example, if values for a client secret and certificate are both present, the client secret is used.
320
307
 
321
308
  ## Continuous Access Evaluation
@@ -372,7 +359,6 @@ To contribute to this library, read the [contributing guide](https://github.com/
372
359
  [azureclilogin_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/sdk/identity/identity/images/AzureCliLogin.png
373
360
  [azureclilogindevicecode_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/sdk/identity/identity/images/AzureCliLoginDeviceCode.png
374
361
  [azurepowershelllogin_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/sdk/identity/identity/images/AzurePowerShellLogin.png
375
- [defaultauthflow_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/sdk/identity/identity/images/mermaidjs/DefaultAzureCredentialAuthFlow.svg
376
362
  [azure_identity_broker]: https://www.npmjs.com/package/@azure/identity-broker
377
363
  [azure_identity_broker_readme]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-broker
378
364
  [authority_hosts]: https://learn.microsoft.com/javascript/api/@azure/identity/azureauthorityhosts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azure/identity",
3
3
  "sdk-type": "client",
4
- "version": "4.7.1-alpha.20250305.1",
4
+ "version": "4.7.1-alpha.20250307.2",
5
5
  "description": "Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID",
6
6
  "main": "./dist/commonjs/index.js",
7
7
  "module": "./dist/esm/index.js",