Token Exchange
The SDK presents the projected Kubernetes JWT to Entra; Entra validates its federation claims and returns an Azure access token.
Learning status: Not practiced
The moving parts
The Azure Identity SDK reads the projected assertion and requests a token from Microsoft Entra ID. Entra validates the JWT signature and the FIC's issuer, subject, and audience. If they match, Entra issues an access token for the requested resource scope.
For Azure Identity Workload ID flows, request scopes in the Entra v2 format, such as:
https://vault.azure.net/.default
https://storage.azure.com/.default
https://management.azure.com/.default
The SDK normally handles this exchange when a service client asks its credential for a token. The app should not send the Kubernetes assertion directly to Key Vault or Storage.
Token acquisition success proves identity federation worked. It does not prove the target resource authorizes the operation; a later 403 can still mean the identity lacks a role or data-plane permission.
Source: AKS Workload ID and Azure Identity.
Connects to