Skip to content
IAM Policy Generator

OIDC identity provider

An OIDC identity provider in IAM is an entry for an external OpenID Connect provider, such as a CI/CD platform, that lets workloads present a signed token and assume a role through sts:AssumeRoleWithWebIdentity. The role's trust policy names the provider as a Federated principal and tests claims such as aud and sub.

All terms ยท Open the workbench

An example, sourced

AWS document history records that since 6 Jun 2025 IAM requires explicit evaluation of specific claims for recognized shared OIDC providers, and that on 12 May 2026 it accepted job_workflow_ref as an alternative to sub for the GitHub Actions provider.

Why it matters here

A trust policy for an OIDC provider is only as narrow as its claim tests. A provider shared by many customers needs a condition that picks out yours.

Sources

  1. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc.html, read 16 Nov 2026

Last reviewed 16 Nov 2026.