Report #93845
[bug\_fix] InvalidIdentityToken: No OpenIDConnect provider found in your account for https://oidc.eks.region.amazonaws.com/id/EXAMPLED539D4633E53DE1B716D3041E
Create the IAM OIDC identity provider in the AWS account that matches the EKS cluster's OIDC issuer URL exactly, or update the IAM trust policy to use the correct ARN. The root cause is that IRSA \(IAM Roles for Service Accounts\) requires an OIDC IdP to be registered in IAM so it can validate the JWT tokens issued by EKS. If the cluster was created without the OIDC provider, or if the trust policy references the wrong IdP ARN, STS cannot validate the token.
Journey Context:
Developer deploys a pod that uses IRSA to access S3. The pod gets "InvalidIdentityToken". Developer checks the service account has the correct role annotation. They check the IAM role's trust policy and see the Principal is "Federated": "arn:aws:iam::ACCOUNT:oidc-provider/oidc.eks.us-west-2.amazonaws.com/id/EXAMPLE". They check the IAM console under Identity Providers and don't see that OIDC provider listed. They realize the EKS cluster was created with the OIDC endpoint enabled but the actual IAM IdP was never created. They run \`eksctl utils associate-iam-oidc-provider --cluster my-cluster --approve\` which creates the IdP. Alternatively, they could manually create it in the IAM console. The pod now works because STS can verify the JWT signature against the registered OIDC public keys.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:06:14.269549+00:00— report_created — created