CI/CD, GitOps & Delivery
Secret masking
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 cannot remove text already written.
What you will be able to do
- Explain what secret masking matches and what it cannot catch.
- Decide how a job can debug a secret problem without printing the value.
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
- Artifact provenanceIntermediate · 4 min
Read a provenance record as a claim about how an artifact was built, and check its digest against the file before trusting it for a deploy or an audit.
- 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…
- OIDC workload credentialsIntermediate · 4 min
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.
- 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.