From 421ebf0d1ef455b27687d58ee08b320691c88850 Mon Sep 17 00:00:00 2001 From: Daniel Rodriguez Date: Tue, 8 Jun 2021 20:15:29 +0000 Subject: [PATCH] feedback from Scott --- sdk/identity/identity/samples/AzureIdentityExamples.md | 2 +- .../src/credentials/managedIdentityCredential/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/identity/identity/samples/AzureIdentityExamples.md b/sdk/identity/identity/samples/AzureIdentityExamples.md index f65a9c73ba2b..f470d024cbb2 100644 --- a/sdk/identity/identity/samples/AzureIdentityExamples.md +++ b/sdk/identity/identity/samples/AzureIdentityExamples.md @@ -96,7 +96,7 @@ If your application is hosted in Azure, you can make use of [Managed Identity](h | Credential with example | Usage | | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [ManagedIdentityCredential](#authenticating-in-azure-with-managed-identity) | Authenticate in a virtual machine, app service, function app, cloud shell, or AKS environment on Azure, with system assigned managed identity, user assigned managed identity, or app registration. . | +| [ManagedIdentityCredential](#authenticating-in-azure-with-managed-identity) | Authenticate in a virtual machine, app service, function app, cloud shell, or AKS environment on Azure, with system assigned managed identity, user assigned managed identity, or app registration (when working with AKS pods). | | [DefaultAzureCredential](#authenticating-with-defaultazurecredential) | Tries `EnvironmentCredential`, `ManagedIdentityCredential`, `AzureCliCredential`, `AzurePowerShellCredential`, and other credentials sequentially until one of them succeeds. Use this to have your application authenticate using developer tools, service principals or managed identity based on what is available in the current environment without changing your code. | ### Examples diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts index 86ae0db18f53..6b89369af73e 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts @@ -32,9 +32,9 @@ export class ManagedIdentityCredential implements TokenCredential { /** * Creates an instance of ManagedIdentityCredential with the client ID of a - * user-assigned identity or app registration. + * user-assigned identity, or app registration (when working with AKS pods). * - * @param clientId - The client ID of the user-assigned identity or app registration. + * @param clientId - The client ID of the user-assigned identity, or app registration (when working with AKS pods). * @param options - Options for configuring the client which makes the access token request. */ constructor(clientId: string, options?: TokenCredentialOptions);