eks-auth:AssumeRoleForPodIdentity is a Read access-level action in the eks-auth service. Grants permission to exchange a Kubernetes service account token for temporary AWS credentials
ARNs that eks-auth:AssumeRoleForPodIdentity can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants eks-auth:AssumeRoleForPodIdentity.
Filters access by a tag key and value pair
A minimal policy that allows eks-auth:AssumeRoleForPodIdentity. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEksauthAssumeRoleForPodIdentity",
"Effect": "Allow",
"Action": "eks-auth:AssumeRoleForPodIdentity",
"Resource": "*"
}
]
}