← All notes

GitHub Actions OIDC - short-lived cloud tokens instead of stored secrets

Answer: OpenID Connect allows your workflows to exchange short-lived tokens directly from your cloud provider. After you have established a trust connection with a provider that supports OIDC, a job can request a short-lived access token. That token is only valid for a single job, then automatically expires.

Examples

The job requests a token from GitHub's OIDC provider. A step or action can present that token to the cloud provider as proof of the workflow's identity.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: GitHub Docs, OpenID Connect; github/docs (GitHub), openid-connect.md. CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: GitHub Docs, OpenID Connect; github/docs (GitHub), openid-connect.md. CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.

Cite this

Permanent ID: iil:note:4fmmwzm1

iinventedlight. 2026. "GitHub Actions OIDC - short-lived cloud tokens instead of stored secrets." iinventedlight Library, iil:note:4fmmwzm1, version of 2026-11-18. https://iinventedlight.com/library/notes/gh-actions-oidc/. License: CC-BY-4.0.

@misc{iil_note_4fmmwzm1,
  author = {{iinventedlight}},
  title = {{GitHub Actions OIDC - short-lived cloud tokens instead of stored secrets}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-18},
  url = {https://iinventedlight.com/library/notes/gh-actions-oidc/},
  note = {Permanent ID iil:note:4fmmwzm1. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/gh-actions-oidc.md.