
GitHub Actions to AWS Without Stored Keys: OIDC Federation in 2026
Stop storing AWS access keys in GitHub secrets. A complete guide to OIDC federation for GitHub Actions: the IAM identity provider, trust-policy scoping by repo, branch and environment, the id-token permission everyone forgets, and a safe migration off long-lived keys.



