OIDC, short for OpenID Connect, is an identity layer built on top of OAuth 2.0. It lets a service verify who a user or workload is and issue tokens that can be used instead of long-lived passwords or static API keys. In modern pipelines, OIDC is often used for short-lived automation credentials, such as temporary access for CI/CD jobs, cloud deployments, or build systems.
OIDC matters because short-lived, scoped tokens reduce the blast radius of credential theft and make access easier to audit and revoke. But the trust model is only as strong as the identity provider, token audience checks, and workload boundaries. Attackers may try to steal issued tokens, abuse misconfigured trust relationships, or impersonate a trusted build job to obtain privileged access. Defenders use OIDC with tight claim validation, least privilege, token expiry, and attestation-friendly workflows to keep automation secure.


