fINTERACTIVE FIELD GUIDES
Pod to Azure21 / 30

Pod Access to Azure Services

Follow a pod's identity, service-specific authorization, and network path when it calls an Azure service outside the cluster.

Learning status: Not practiced

An AKS pod can call Azure services outside its cluster by using Microsoft Entra Workload ID. The common identity flow stays the same, but each destination service has its own authorization and connectivity requirements.

The shared flow

  1. The pod runs as a Kubernetes service account trusted by a federated identity credential.
  2. The Azure Identity SDK exchanges the projected service-account token for an Entra access token.
  3. The application presents that token to the target service.
  4. The service checks its own authorization rules and permissions.
  5. Networking must allow the pod to reach the service endpoint.

Workload ID establishes which identity the application uses. It does not grant service permissions or open a network path.

Authorization depends on the service

DestinationAuthorization to configure
Azure Blob StorageAssign a Blob data role such as Storage Blob Data Reader or Storage Blob Data Contributor to the workload identity at the narrowest suitable scope.
Azure Functions HTTP APIProtect the API with Microsoft Entra authentication, define the API permissions or app role the caller needs, and authorize the workload identity for it.
Azure Managed RedisEnable Microsoft Entra authentication and add the workload identity as an authorized Redis user. The Redis client must refresh its token and re-authenticate before expiry.

An Azure role on the AKS resource is not a substitute for these service-specific permissions. For example, Azure management-plane access to AKS controls operations such as retrieving cluster credentials; it does not authorize Blob data access.

Check the network separately

For a public endpoint, verify outbound routing and the service firewall. For a private endpoint, verify the cluster's network path, subnet and DNS configuration, and any network security rules. The workload can have a valid token and sufficient permissions while still being unable to reach the service.

Use the linked service guides for configuration and application examples. When troubleshooting, identify whether the failure is during token acquisition, service authorization, or network connection before changing permissions.

Sources: AKS Workload ID overview, Azure Storage authorization with Microsoft Entra ID, App Service authentication with Microsoft Entra ID, Azure Managed Redis authentication.