CHANGELOG.md raw

Release History

1.13.1 (2025-11-10)

Bugs Fixed

1.13.0 (2025-10-07)

Features Added

(thanks ArmaanMcleod)

does ManagedIdentityCredential when used directly. It doesn't apply special retry configuration or attempt to determine whether IMDS is available. (#25265)

Breaking Changes

It will return in v1.14.0-beta.1

1.13.0-beta.1 (2025-09-17)

Features Added

(thanks ArmaanMcleod)

1.12.0 (2025-09-16)

Features Added

error when this option is true and the environment variable AZURE_TOKEN_CREDENTIALS has no value.

Other Changes

TokenRequestOptions.Claims has a value because these credentials can't acquire a token in that case. The error messages describe the action required to get a token.

1.11.0 (2025-08-05)

Other Changes

AzureCLICredential returns an error

1.11.0-beta.1 (2025-07-15)

Features Added

AZURE_TOKEN_CREDENTIALS. It will use only the selected type at runtime. For example, set AZURE_TOKEN_CREDENTIALS=WorkloadIdentityCredential to have DefaultAzureCredential use only WorkloadIdentityCredential.

Other Changes

in IMDS documentation. In previous versions, it would stop retrying after ~54 seconds by default.

1.10.1 (2025-06-10)

Bugs Fixed

1.10.0 (2025-05-14)

Features Added

- dev selects AzureCLICredential and AzureDeveloperCLICredential - prod selects EnvironmentCredential, WorkloadIdentityCredential and ManagedIdentityCredential

1.9.0 (2025-04-08)

Features Added

Other Changes

authentication (MFA), which Microsoft Entra ID requires for most tenants. See https://aka.ms/azsdk/identity/mfa for migration guidance.

1.8.2 (2025-02-12)

Other Changes

1.8.1 (2025-01-15)

Bugs Fixed

InteractiveBrowserCredential require setting AdditionallyAllowedTenants when used with some clients

Other Changes

credential after ManagedIdentityCredential receives an unexpected response from IMDS, indicating the response is from something else such as a proxy

1.8.0 (2024-10-08)

Other Changes

receives a 401 instead of a 302 after presenting an invalid system access token

them in error messages

1.8.0-beta.3 (2024-09-17)

Features Added

Other Changes

1.8.0-beta.2 (2024-08-06)

Breaking Changes

is specified on a platform whose managed identity API doesn't support that. ManagedIdentityCredential.GetToken() formerly logged a warning in these cases. Returning an error instead prevents the credential authenticating an unexpected identity, causing a client to act with unexpected privileges. The affected platforms are: * Azure Arc * Azure ML (when a resource ID is specified; client IDs are supported) * Cloud Shell * Service Fabric

Other Changes

attempting to authenticate a managed identity, it continues to the next credential in the chain instead of immediately returning an error.

1.8.0-beta.1 (2024-07-17)

Features Added

Breaking Changes

These changes affect only code written against a beta version such as v1.7.0-beta.1

and persistent cache construction is separate from credential construction. The PersistentUserAuthentication example in the package docs has been updated to demonstrate the new API.

1.7.0 (2024-06-20)

Features Added

workload identity federation

Breaking Changes

These changes affect only code written against a beta version such as v1.7.0-beta.1

1.7.0-beta.1 (2024-06-10)

Features Added

Breaking Changes

These changes affect only code written against a beta version such as v1.6.0-beta.4

prior versions are now parameters

Bugs Fixed

1.6.0 (2024-06-10)

Features Added

that authenticates with client assertions such as federated credentials

Breaking Changes

These changes affect only code written against a beta version such as v1.6.0-beta.4

They will return in v1.7.0-beta.1

Bugs Fixed

1.6.0-beta.4 (2024-05-14)

Features Added

workload identity federation

1.6.0-beta.3 (2024-04-09)

Breaking Changes

environments to avoid excessive retry delays when the IMDS endpoint is not available. This should improve credential chain resolution for local development scenarios.

Bugs Fixed

1.5.2 (2024-04-09)

Bugs Fixed

Other Changes

1.6.0-beta.2 (2024-02-06)

Breaking Changes

These changes affect only code written against a beta version such as v1.6.0-beta.1

type that carries the TokenRequestOptions passed to the GetToken call which returned the error.

Bugs Fixed

should try their next credential after attempting managed identity authentication in a Docker Desktop container

Other Changes

1.6.0-beta.1 (2024-01-17)

Features Added

1.5.1 (2024-01-17)

Bugs Fixed

1.5.0 (2024-01-16)

Breaking Changes

These changes affect only code written against a beta version such as v1.5.0-beta.1

Bugs Fixed

Other Changes

1.5.0-beta.2 (2023-11-07)

Features Added

1.5.0-beta.1 (2023-10-10)

Features Added

on a credential's options to enable and configure this. See the package documentation for this version and TOKEN_CACHING.md for more details.

credential is also part of the DefaultAzureCredential authentication flow.

1.4.0 (2023-10-10)

Bugs Fixed

1.4.0-beta.5 (2023-09-12)

Features Added

Breaking Changes

These changes affect only code written against a beta version such as v1.4.0-beta.4

SDK clients which support CAE will set this option automatically. Credentials no longer request CAE tokens by default or observe the environment variable "AZUREIDENTITYDISABLE_CP1".

Bugs Fixed

managed identity authentication fails in a Docker Desktop container (#21417)

1.4.0-beta.4 (2023-08-16)

Other Changes

1.3.1 (2023-08-16)

Other Changes

1.4.0-beta.3 (2023-08-08)

Bugs Fixed

can no longer make two authentication attempts

1.4.0-beta.2 (2023-07-14)

Other Changes

1.4.0-beta.1 (2023-06-06)

Other Changes

1.3.0 (2023-05-09)

Breaking Changes

These changes affect only code written against a beta version such as v1.3.0-beta.5

Other Changes

1.3.0-beta.5 (2023-04-11)

Breaking Changes

These changes affect only code written against a beta version such as v1.3.0-beta.4

The constructor now reads default configuration from environment variables set by the Azure workload identity webhook by default. (#20478)

(#20479)

Bugs Fixed

1.3.0-beta.4 (2023-03-08)

Features Added

Bugs Fixed

(#20044)

Other Changes

1.2.2 (2023-03-07)

Other Changes

1.3.0-beta.3 (2023-02-07)

Features Added

Continuous Access Evaluation (CAE). This indicates to Microsoft Entra ID that your application can handle CAE claims challenges. You can disable this behavior by setting the environment variable "AZUREIDENTITYDISABLE_CP1" to "true".

prompt with a username (#15599)

Specify "adfs" as the credential's tenant.

requesting Microsoft Entra instance metadata by setting the DisableInstanceDiscovery field on credential options.

options types for these credentials have an AdditionallyAllowedTenants field that specifies additional tenants in which the credential may authenticate.

1.3.0-beta.2 (2023-01-10)

Features Added

(#16642)

Bugs Fixed

Other Changes

passed to GetToken() has no deadline

a credential can't authenticate and an encompassing ChainedTokenCredential should try its next credential, if any.

1.3.0-beta.1 (2022-12-13)

Features Added

Workload Identity Federation on Kubernetes. DefaultAzureCredential support requires environment variable configuration as set by the Workload Identity webhook. (#15615)

1.2.0 (2022-11-08)

Other Changes

1.2.0-beta.3 (2022-10-11)

Features Added

Bugs Fixed

1.2.0-beta.2 (2022-08-10)

Features Added

with custom client assertions

Other Changes

1.2.0-beta.1 (2022-06-07)

Features Added

(#17099)

1.1.0 (2022-06-07)

Features Added

applications can set environment variable AZURE_REGIONAL_AUTHORITY_NAME with a region name. (#15605)

1.0.1 (2022-06-07)

Other Changes

(#18176)

1.0.0 (2022-05-12)

Features Added

client ID of a user-assigned managed identity (#17293)

Breaking Changes

to authenticate a user with the authorization code flow.

Bugs Fixed

(#17490)

Other Changes

0.14.0 (2022-04-05)

Breaking Changes

clouds with the API in azcore/cloud, for example: `go // before opts := azidentity.ClientSecretCredentialOptions{AuthorityHost: azidentity.AzureGovernment} cred, err := azidentity.NewClientSecretCredential(tenantID, clientID, secret, &opts)

// after import "github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"

opts := azidentity.ClientSecretCredentialOptions{} opts.Cloud = cloud.AzureGovernment cred, err := azidentity.NewClientSecretCredential(tenantID, clientID, secret, &opts) `

0.13.2 (2022-03-08)

Bugs Fixed

(#17144)

Other Changes

(#17086)

0.13.1 (2022-02-08)

Features Added

AZURE_CLIENT_SEND_CERTIFICATE_CHAIN is "true". (#16851)

Bugs Fixed

a user assigned identity in Azure Cloud Shell (which doesn't support such identities) (#16946)

Other Changes

error returned by DefaultAzureCredential.GetToken() when it's unable to acquire a token from any source. (#15923)

0.13.0 (2022-01-11)

Breaking Changes

* If ChainedTokenCredentialOptions.RetrySources is true, ChainedTokenCredential will continue to try all of the originally provided credentials each time the GetToken method is called. * ChainedTokenCredential.successfulCredential will contain a reference to the last successful credential. * DefaultAzureCredenial will also re-use the first successful credential on subsequent calls to GetToken. * DefaultAzureCredential.chain.successfulCredential will also contain a reference to the last successful credential.

Other Changes

from it. Also, an error response from IMDS no longer disables a credential instance. Following an error, a credential instance will continue to send requests to IMDS as necessary.

0.12.0 (2021-11-02)

Breaking Changes

runtime.NewBearerTokenPolicy() to construct a bearer token authorization policy.

AuthorityHost, with underlying type string

options struct: `go // before cred, err := NewChainedTokenCredential(credA, credB)

// after cred, err := NewChainedTokenCredential([]azcore.TokenCredential{credA, credB}, nil) `

from DefaultAzureCredentialOptions

a path to a certificate file. Added ParseCertificates to simplify getting these in common cases: `go // before cred, err := NewClientCertificateCredential("tenant", "client-id", "/cert.pem", nil)

// after certData, err := os.ReadFile("/cert.pem") certs, key, err := ParseCertificates(certData, password) cred, err := NewClientCertificateCredential(tenantID, clientID, certs, key, nil) `

specified by ManagedIdentityCredentialOptions.ID: `go // before cred, err := NewManagedIdentityCredential("client-id", nil) // or, for a resource ID opts := &ManagedIdentityCredentialOptions{ID: ResourceID} cred, err := NewManagedIdentityCredential("/subscriptions/...", opts)

// after clientID := ClientID("7cf7db0d-...") opts := &ManagedIdentityCredentialOptions{ID: clientID} // or, for a resource ID resID: ResourceID("/subscriptions/...") opts := &ManagedIdentityCredentialOptions{ID: resID} cred, err := NewManagedIdentityCredential(opts) `

syntax, this change renames HTTPClient fields to Transport.

AZURE_RESOURCE_ID. Use ManagedIdentityCredentialOptions.ID instead.

interfaces having the same names.

Bugs Fixed

Features Added

if available

Other Changes

0.11.0 (2021-09-08)

Breaking Changes

AzureCLITokenProvider

Bug Fixes

when IMDS has no assigned identity, signaling DefaultAzureCredential to try other credentials

0.10.0 (2021-08-30)

Breaking Changes

0.9.3 (2021-08-20)

Bugs Fixed

Other Changes

0.9.2 (2021-07-23)

Features Added

0.9.1 (2021-05-24)

Features Added

0.9.0 (2021-05-21)

Features Added

0.8.0 (2021-01-20)

Features Added

0.7.1 (2021-01-04)

Features Added

0.7.0 (2020-12-11)

Features Added

0.6.1 (2020-12-09)

Features Added

0.6.0 (2020-11-16)

Features Added

0.5.0 (2020-10-30)

Features Added

0.4.3 (2020-10-21)

Features Added

0.4.2 (2020-10-16)

Features Added

0.4.1 (2020-10-16)

Features Added

0.4.0 (2020-10-16)

Features Added

0.3.0 (2020-10-09)

Features Added

0.2.2 (2020-10-09)

Features Added

0.2.1 (2020-10-06)

Features Added

0.2.0 (2020-09-11)

Features Added

0.1.1 (2020-09-02)

Features Added

0.1.0 (2020-07-23)

Features Added