Skip to content

Commit e379e2d

Browse files
committed
Add note
1 parent b219faf commit e379e2d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/azure/sdk/authentication/best-practices.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ The Azure Identity library for .NET allows you to authenticate via managed ident
8585

8686
- **When to use:** For production scenarios where resilience is important
8787
- **How to activate:** Take one of the following approaches:
88-
- Use `DefaultAzureCredential` with `AZURE_TOKEN_CREDENTIALS` environment variable set to `ManagedIdentityCredential`
88+
- Use `DefaultAzureCredential` with `AZURE_TOKEN_CREDENTIALS` environment variable set to `ManagedIdentityCredential`.
89+
90+
> [!IMPORTANT]
91+
> This approach only operates in resilient mode when using `Azure.Identity` package version 1.16.0 or later. In earlier versions, this approach operates in "fail fast" mode.
92+
8993
- Use `ChainedTokenCredential` containing `ManagedIdentityCredential`
9094
- Use `ManagedIdentityCredential` directly
9195
- **How it works:** The time interval between retries starts at 0.8 seconds, and a maximum of five retries are attempted, by default. This mode is optimized for resilience but introduces potentially unwanted delays in the development inner loop.

0 commit comments

Comments
 (0)