Deploying from GitHub Actions with OIDC instead of stored cloud keys
Why it matters
A long-lived cloud key in repository secrets works for anyone who extracts it, forever. OIDC issues a short-lived credential per run, scoped to the repository and branch.
How to fix it
Does your repository pass this check?
Free for public GitHub repositories, no account needed. 50+ DevOps and security checks in about ten seconds.
Related checks
- How to find and remove secrets committed to a Git repository
- Why .env must be in .gitignore (and how to check it is not already committed)
- A .env file is committed to the repository: what to do
- Automated dependency updates with Dependabot or Renovate
- How to pin GitHub Actions to a commit SHA
- Least-privilege GITHUB_TOKEN permissions in workflows