CI/CD, GitOps & Delivery
OIDC workload credentials
Use OIDC to exchange a short-lived identity token for cloud access, and narrow the trust rule to one repository and branch so no other workflow can use it.
What you will be able to do
- Explain how a subject claim and a trust rule decide which workflows get access.
- Decide how to move a job from a stored key to OIDC without leaving the old key active.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in CI/CD, GitOps & Delivery
- Build cachingIntermediate · 4 min
Order Dockerfile steps from least to most changed, so the dependency install stays cached while source edits rebuild only the steps that depend on them, and check the…
- Secret maskingIntermediate · 4 min
Keep secrets out of logs, understand that masking matches only the exact stored value, and rotate any secret that may have appeared in printed output, since masking…
- Branch protectionIntermediate · 4 min
Protect the branch that deploys with platform rules for pull requests, reviews and checks, so an urgent push cannot skip the controls the team agreed, and confirm the…
- Required checksIntermediate · 4 min
Name each required check exactly as the workflow reports it, and check the pull request's check list, so a rename or path filter does not block merges forever.
- Reproducible buildsIntermediate · 4 min
Make a build reproducible by fixing its inputs and environment, then prove it by building twice and comparing hashes, using a diff tool when they differ.
- SBOM attestationsIntermediate · 5 min
An SBOM attestation is a signed statement that binds a list of image components to one exact image digest, so the list can be checked before deploy.