Skip to content

Commit 8d5dc19

Browse files
authored
Replace DefaultAzureCredential auth flow diagram (Azure#17660)
* Replace DefaultAzureCredential auth flow diagram * Delete old diagram
1 parent 6edfd93 commit 8d5dc19

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk/azidentity/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ an Azure AD access token. See [Credential Types](#credential-types "Credential T
5252

5353
`DefaultAzureCredential` is appropriate for most apps that will be deployed to Azure. It combines common production credentials with development credentials. It attempts to authenticate via the following mechanisms in this order, stopping when one succeeds:
5454

55-
![DefaultAzureCredential authentication flow](img/DAC_flow.PNG)
55+
![DefaultAzureCredential authentication flow](img/mermaidjs/DefaultAzureCredentialAuthFlow.svg)
5656

57-
- Environment - `DefaultAzureCredential` will read account information specified via [environment variables](#environment-variables) and use it to authenticate.
58-
- Managed Identity - If the app is deployed to an Azure host with managed identity enabled, `DefaultAzureCredential` will authenticate with it.
59-
- Azure CLI - If a user or service principal has authenticated via the Azure CLI `az login` command, `DefaultAzureCredential` will authenticate that identity.
57+
1. **Environment** - `DefaultAzureCredential` will read account information specified via [environment variables](#environment-variables) and use it to authenticate.
58+
2. **Managed Identity** - If the app is deployed to an Azure host with managed identity enabled, `DefaultAzureCredential` will authenticate with it.
59+
3. **Azure CLI** - If a user or service principal has authenticated via the Azure CLI `az login` command, `DefaultAzureCredential` will authenticate that identity.
6060

6161
> Note: `DefaultAzureCredential` is intended to simplify getting started with the SDK by handling common scenarios with reasonable default behaviors. Developers who want more control or whose scenario isn't served by the default settings should use other credential types.
6262

sdk/azidentity/img/DAC_flow.PNG

-15.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)