Docker and CI/CD · Middle · Question 71 of 75

CI masks secret values in logs. Why can a secret still leak?

Explanation

Base64-encoding, splitting or writing the secret to an artifact bypasses masking. Avoid printing secrets at all and keep their scope small.

Further reading

Problem with a question

Docker and CI/CD · Middle · question 71

Test yourself

Take the Docker and CI/CD · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz