You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/azure/sdk/authentication/credential-chains.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: 'Credential chains in the Azure Identity library for .NET'
3
3
description: 'This article describes the DefaultAzureCredential and ChainedTokenCredential classes in the Azure Identity library.'
4
4
ms.topic: concept-article
5
-
ms.date: 05/30/2025
5
+
ms.date: 08/13/2025
6
6
---
7
7
8
8
# Credential chains in the Azure Identity library for .NET
@@ -37,7 +37,7 @@ There are two disparate philosophies to credential chaining:
37
37
38
38
[DefaultAzureCredential](/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet&preserve-view=true) is an opinionated, preconfigured chain of credentials. It's designed to support many environments, along with the most common authentication flows and developer tools. In graphical form, the underlying chain looks like this:
:::image type="content" source="../media/mermaidjs/DefaultAzureCredentialAuthFlow-inline.svg" alt-text="Diagram that shows DefaultAzureCredential authentication flow." lightbox="../media/mermaidjs/DefaultAzureCredentialAuthFlow-expanded.png":::
41
41
42
42
The order in which `DefaultAzureCredential` attempts credentials follows.
43
43
@@ -47,19 +47,24 @@ The order in which `DefaultAzureCredential` attempts credentials follows.
47
47
| 2 |[Workload Identity][wi-cred]|If the app is deployed to an Azure host with Workload Identity enabled, authenticate that account. | Yes |
48
48
| 3 |[Managed Identity][mi-cred]|If the app is deployed to an Azure host with Managed Identity enabled, authenticate the app to Azure using that Managed Identity. | Yes |
49
49
| 4 |[Visual Studio][vs-cred]|If the developer authenticated to Azure by logging into Visual Studio, authenticate the app to Azure using that same account. | Yes |
50
-
| 5 |[Azure CLI][az-cred]|If the developer authenticated to Azure using Azure CLI's `az login` command, authenticate the app to Azure using that same account. | Yes |
51
-
| 6 |[Azure PowerShell][pwsh-cred]|If the developer authenticated to Azure using Azure PowerShell's `Connect-AzAccount` cmdlet, authenticate the app to Azure using that same account. | Yes |
52
-
| 7 |[Azure Developer CLI][azd-cred]|If the developer authenticated to Azure using Azure Developer CLI's `azd auth login` command, authenticate with that account. | Yes |
53
-
| 8 |[Interactive browser][int-cred]|If enabled, interactively authenticate the developer via the current system's default browser. | No |
50
+
| 5 |[Visual Studio Code][vsc-cred]|If the developer authenticated via Visual Studio Code's [Azure Resources extension][vsc-ext] and the [Azure.Identity.Broker package][broker-pkg] is installed, authenticate that account. | Yes |
51
+
| 6 |[Azure CLI][az-cred]|If the developer authenticated to Azure using Azure CLI's `az login` command, authenticate the app to Azure using that same account. | Yes |
52
+
| 7 |[Azure PowerShell][pwsh-cred]|If the developer authenticated to Azure using Azure PowerShell's `Connect-AzAccount` cmdlet, authenticate the app to Azure using that same account. | Yes |
53
+
| 8 |[Azure Developer CLI][azd-cred]|If the developer authenticated to Azure using Azure Developer CLI's `azd auth login` command, authenticate with that account. | Yes |
54
+
| 9 |[Interactive browser][int-cred]|If enabled, interactively authenticate the developer via the current system's default browser. | No |
55
+
| 10 |[Broker][int-cred]|Authenticates using the default account logged into the OS via a broker. Requires that the [Azure.Identity.Broker package][broker-pkg] is installed, since an instance of `InteractiveBrowserBrokerCredential` is used. | Yes |
0 commit comments