v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1411913.5 KB

The Amazon EKS Auth API and the AssumeRoleForPodIdentity action are only used by the EKS Pod Identity Agent.

We recommend that applications use the Amazon Web Services SDKs to connect to Amazon Web Services services; if credentials from an EKS Pod Identity association are available in the pod, the latest versions of the SDKs use them automatically.

post/clusters/{clusterName}/assume-role-for-pod-identity

Path parameters

clusterNamestring required

The name of the cluster for the request.

Request body

tokenstring password required

The token of the Kubernetes service account for the pod.

Response

Success

audiencestring required

The identity that is allowed to use the credentials. This value is always <code>pods.eks.amazonaws.com</code>.

All 1 operations