Skip to main content
PProfileMatch
← Path

CI/CD · CI/CD Secrets, Pipeline Security and Making Pipelines Fast and Reliable

0 XP
  1. 1 current stop: learning
  2. 2 upcoming
  3. 3 upcoming
  4. 4 upcoming
  5. 5 upcoming

Finish after stop 5

Stop 1 of 5 · Whiteboard with the password written in disguise

Trick to keep in mind+3 XP

Log masking is a highlighter, not a vault: it only catches the exact string.

CI platforms hide secrets in logs by replacing exact matches of the stored value. If a step transforms the value first (base64, split into pieces, URL-encoded), the result no longer matches and can print in clear. So the safe habit is never to echo secrets at all, rather than counting on the mask.

Read it once, then a question tests whether the trick stuck.