Lesson 6 of 9 - Identity and secrets

OIDC instead of long-lived keys

By Branko Petric - Updated - About 8 min - Full access

The short answer

Static cloud keys stored in CI secrets work until they leak, and then they keep working. With OIDC, GitHub Actions proves who it is to AWS and gets credentials that expire in about an hour. A trust policy on the role decides which repo and branch may use it.

Want the bigger picture? This lesson maps to this step of the DevOps roadmap.