Interview Prep/CI/CD/Secrets, Security and Pipeline Performance

A secret printed in logs appears as `***` in GitHub Actions but a base64 variant is visible.

AdvancedTroubleshootingSecrets, Security and Pipeline Performance
Answer

Likely causes → Masking only applies to the exact registered value.

Diagnose → Search logs for transformed values.

Fix → Rotate the secret; register derived values with ::add-mask::, and avoid printing them.

Prevent → Never echo secrets or derived values.

All CI/CD questions

More on Secrets, Security and Pipeline Performance