Deploying from GitHub Actions with OIDC instead of stored cloud keys

Cloud deploys use short-lived credentials (OIDC) · actions.cloud_oidc

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