github Azure/azure-sdk-for-go sdk/azidentity/v1.12.0

8 hours ago

1.12.0 (2025-09-16)

Features Added

  • Added DefaultAzureCredentialOptions.RequireAzureTokenCredentials. NewDefaultAzureCredential returns an
    error when this option is true and the environment variable AZURE_TOKEN_CREDENTIALS has no value.

Other Changes

  • AzureDeveloperCLICredential no longer hangs when AZD_DEBUG is set
  • GetToken methods of AzureCLICredential and AzureDeveloperCLICredential return an error when
    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.

Don't miss a new azure-sdk-for-go release

NewReleases is sending notifications on new releases.