Skip to content

Commit

Permalink
Update azd credential order in DAC (#37986)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottaddie authored Aug 2, 2023
1 parent 53da893 commit 8420a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/identity/Azure.Identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ The `DefaultAzureCredential` attempts to authenticate via the following mechanis
1. **Environment** - The `DefaultAzureCredential` will read account information specified via [environment variables](#environment-variables) and use it to authenticate.
1. **Workload Identity** - If the application is deployed to an Azure host with Workload Identity enabled, the `DefaultAzureCredential` will authenticate with that account.
1. **Managed Identity** - If the application is deployed to an Azure host with Managed Identity enabled, the `DefaultAzureCredential` will authenticate with that account.
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.
1. **Visual Studio** - If the developer has authenticated via Visual Studio, the `DefaultAzureCredential` will authenticate with that account.
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/).
1. **Azure CLI** - If the developer has authenticated an account via the Azure CLI `az login` command, the `DefaultAzureCredential` will authenticate with that account.
1. **Azure PowerShell** - If the developer has authenticated an account via the Azure PowerShell `Connect-AzAccount` command, the `DefaultAzureCredential` will authenticate with that account.
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.
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.

## Examples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ namespace Azure.Identity
/// <item><description><see cref="EnvironmentCredential"/></description></item>
/// <item><description><see cref="WorkloadIdentityCredential"/></description></item>
/// <item><description><see cref="ManagedIdentityCredential"/></description></item>
/// <item><description><see cref="AzureDeveloperCliCredential"/></description></item>
/// <item><description><see cref="SharedTokenCacheCredential"/></description></item>
/// <item><description><see cref="VisualStudioCredential"/></description></item>
/// <item><description><see cref="VisualStudioCodeCredential"/></description></item>
/// <item><description><see cref="AzureCliCredential"/></description></item>
/// <item><description><see cref="AzurePowerShellCredential"/></description></item>
/// <item><description><see cref="AzureDeveloperCliCredential"/></description></item>
/// <item><description><see cref="InteractiveBrowserCredential"/></description></item>
/// </list>
/// Consult the documentation of these credential types for more information on how they attempt authentication.
Expand Down

0 comments on commit 8420a50

Please sign in to comment.