Skip to content

Commit 0249c38

Browse files
authored
Update credential chains doc for v1.16.0 release (#48547)
* Update credential chains doc for v1.16.0 release * Replace image
1 parent b574b4b commit 0249c38

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

docs/azure/sdk/authentication/credential-chains.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ When a value of `dev` is used, the chain looks as follows:
112112

113113
:::image type="content" source="../media/mermaidjs/default-azure-credential-environment-variable-development.svg" alt-text="DefaultAzureCredential with AZURE_TOKEN_CREDENTIALS set to 'dev'":::
114114

115-
> [!IMPORTANT]
116-
> The `AZURE_TOKEN_CREDENTIALS` environment variable is supported in `Azure.Identity` package versions 1.14.0 and later.
115+
To ensure the environment variable is defined and set to a supported string, use constructor overload <xref:Azure.Identity.DefaultAzureCredential.%23ctor(System.String,Azure.Identity.DefaultAzureCredentialOptions)?displayProperty=name>.
117116

118117
#### Use a specific credential
119118

@@ -133,6 +132,8 @@ To exclude all credentials except for one, set environment variable `AZURE_TOKEN
133132
> [!IMPORTANT]
134133
> The `AZURE_TOKEN_CREDENTIALS` environment variable supports individual credential names in `Azure.Identity` package versions 1.15.0 and later.
135134
135+
To ensure the environment variable is defined and set to a supported string, use constructor overload <xref:Azure.Identity.DefaultAzureCredential.%23ctor(System.String,Azure.Identity.DefaultAzureCredentialOptions)?displayProperty=name>.
136+
136137
## ChainedTokenCredential overview
137138

138139
[ChainedTokenCredential](/dotnet/api/azure.identity.chainedtokencredential?view=azure-dotnet&preserve-view=true) is an empty chain to which you add credentials to suit your app's needs. For example:

docs/azure/sdk/media/mermaidjs/default-azure-credential-environment-variable-development.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.topic: include
3-
ms.date: 08/13/2025
3+
ms.date: 09/16/2025
44
---
55

66
```mermaid
@@ -28,7 +28,8 @@ flowchart LR;
2828
E(Visual Studio Code):::developer -->
2929
F(Azure CLI):::developer -->
3030
G(Azure PowerShell):::developer -->
31-
H(Azure Developer CLI):::developer;
31+
H(Azure Developer CLI):::developer -->
32+
J(Broker):::developer;
3233
3334
%% Define styles for credential type boxes
3435
classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px;

0 commit comments

Comments
 (0)