Skip to content

Commit 8420a50

Browse files
authored
Update azd credential order in DAC (Azure#37986)
1 parent 53da893 commit 8420a50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/identity/Azure.Identity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ The `DefaultAzureCredential` attempts to authenticate via the following mechanis
8888
1. **Environment** - The `DefaultAzureCredential` will read account information specified via [environment variables](#environment-variables) and use it to authenticate.
8989
1. **Workload Identity** - If the application is deployed to an Azure host with Workload Identity enabled, the `DefaultAzureCredential` will authenticate with that account.
9090
1. **Managed Identity** - If the application is deployed to an Azure host with Managed Identity enabled, the `DefaultAzureCredential` will authenticate with that account.
91-
1. **Azure Developer CLI** - If the developer has authenticated via the Azure Developer CLI `azd auth login` command, the `DefaultAzureCredential` will authenticate with that account.
9291
1. **Visual Studio** - If the developer has authenticated via Visual Studio, the `DefaultAzureCredential` will authenticate with that account.
9392
1. **Visual Studio Code** - Currently excluded by default as SDK authentication via Visual Studio Code is broken due to issue [#27263](https://github.com/Azure/azure-sdk-for-net/issues/27263). The `VisualStudioCodeCredential` will be re-enabled in the `DefaultAzureCredential` flow once a fix is in place. Issue [#30525](https://github.com/Azure/azure-sdk-for-net/issues/30525) tracks this. In the meantime Visual Studio Code users can authenticate their development environment using the [Azure CLI](https://learn.microsoft.com/cli/azure/).
9493
1. **Azure CLI** - If the developer has authenticated an account via the Azure CLI `az login` command, the `DefaultAzureCredential` will authenticate with that account.
9594
1. **Azure PowerShell** - If the developer has authenticated an account via the Azure PowerShell `Connect-AzAccount` command, the `DefaultAzureCredential` will authenticate with that account.
95+
1. **Azure Developer CLI** - If the developer has authenticated via the Azure Developer CLI `azd auth login` command, the `DefaultAzureCredential` will authenticate with that account.
9696
1. **Interactive browser** - If enabled, the `DefaultAzureCredential` will interactively authenticate the developer via the current system's default browser. By default, this credential type is disabled.
9797

9898
## Examples

sdk/identity/Azure.Identity/src/Credentials/DefaultAzureCredential.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ namespace Azure.Identity
1818
/// <item><description><see cref="EnvironmentCredential"/></description></item>
1919
/// <item><description><see cref="WorkloadIdentityCredential"/></description></item>
2020
/// <item><description><see cref="ManagedIdentityCredential"/></description></item>
21-
/// <item><description><see cref="AzureDeveloperCliCredential"/></description></item>
2221
/// <item><description><see cref="SharedTokenCacheCredential"/></description></item>
2322
/// <item><description><see cref="VisualStudioCredential"/></description></item>
2423
/// <item><description><see cref="VisualStudioCodeCredential"/></description></item>
2524
/// <item><description><see cref="AzureCliCredential"/></description></item>
2625
/// <item><description><see cref="AzurePowerShellCredential"/></description></item>
26+
/// <item><description><see cref="AzureDeveloperCliCredential"/></description></item>
2727
/// <item><description><see cref="InteractiveBrowserCredential"/></description></item>
2828
/// </list>
2929
/// Consult the documentation of these credential types for more information on how they attempt authentication.

0 commit comments

Comments
 (0)