From 107a30e55838a1909510f96a424e2152a4318678 Mon Sep 17 00:00:00 2001 From: Ahson Khan Date: Thu, 20 Jul 2023 11:11:55 -0700 Subject: [PATCH] Update managed_identity_credential doc to avoid copy/paste error from client secret credential. (#4809) * Update managed_identity_credential doc to avoid copy/paste error from client secret credential. * Fix clang formatting. --- .../inc/azure/identity/managed_identity_credential.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sdk/identity/azure-identity/inc/azure/identity/managed_identity_credential.hpp b/sdk/identity/azure-identity/inc/azure/identity/managed_identity_credential.hpp index f83a62c3b..851986f69 100644 --- a/sdk/identity/azure-identity/inc/azure/identity/managed_identity_credential.hpp +++ b/sdk/identity/azure-identity/inc/azure/identity/managed_identity_credential.hpp @@ -20,8 +20,11 @@ namespace Azure { namespace Identity { } /** - * @brief Client Secret Credential authenticates with the Azure services using a Tenant ID, Client - * ID and a client secret. + * @brief Attempts authentication using a managed identity that has been assigned to the + * deployment environment. This authentication type works in Azure VMs, App Service and Azure + * Functions applications, as well as the Azure Cloud Shell. More information about configuring + * managed identities can be found here: + * https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview */ class ManagedIdentityCredential final : public Core::Credentials::TokenCredential { private: