@azure/identity 3.1.0-alpha.20221021.2 → 3.1.0-alpha.20221101.1

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.

Potentially problematic release.


This version of @azure/identity might be problematic. Click here for more details.

package/README.md CHANGED
@@ -277,11 +277,12 @@ Not all credentials require this configuration. Credentials that authenticate th
277
277
 
278
278
  #### Username and password
279
279
 
280
- | Variable name | Value |
281
- | ----------------- | ------------------------------------- |
282
- | `AZURE_CLIENT_ID` | ID of an Azure AD application |
283
- | `AZURE_USERNAME` | a username (usually an email address) |
284
- | `AZURE_PASSWORD` | that user's password |
280
+ | Variable name | Value |
281
+ | ----------------- | --------------------------------------- |
282
+ | `AZURE_CLIENT_ID` | ID of an Azure AD application |
283
+ | `AZURE_TENANT_ID` | ID of the application's Azure AD tenant |
284
+ | `AZURE_USERNAME` | a username (usually an email address) |
285
+ | `AZURE_PASSWORD` | that user's password |
285
286
 
286
287
  Configuration is attempted in the above order. For example, if values for a client secret and certificate are both present, the client secret will be used.
287
288
 
package/dist/index.js CHANGED
@@ -1294,6 +1294,11 @@ function getPropertyFromVSCode(property) {
1294
1294
  * Connects to Azure using the credential provided by the VSCode extension 'Azure Account'.
1295
1295
  * Once the user has logged in via the extension, this credential can share the same refresh token
1296
1296
  * that is cached by the extension.
1297
+ *
1298
+ * It's a [known issue](https://github.com/Azure/azure-sdk-for-js/issues/20500) that this credential doesn't
1299
+ * work with [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account)
1300
+ * versions newer than **0.9.11**. A long-term fix to this problem is in progress. In the meantime, consider
1301
+ * authenticating with {@link AzureCliCredential}.
1297
1302
  */
1298
1303
  class VisualStudioCodeCredential {
1299
1304
  /**
@@ -3088,8 +3093,8 @@ function getAdditionallyAllowedTenants() {
3088
3093
  const credentialName$1 = "EnvironmentCredential";
3089
3094
  const logger$5 = credentialLogger(credentialName$1);
3090
3095
  /**
3091
- * Enables authentication to Azure Active Directory using client secret
3092
- * details configured in environment variables
3096
+ * Enables authentication to Azure Active Directory using a client secret or certificate, or as a user
3097
+ * with a username and password.
3093
3098
  */
3094
3099
  class EnvironmentCredential {
3095
3100
  /**