Docker and CI/CD · Senior · Question 19 of 75

Why are environment variables not ideal for highly sensitive secrets?

Explanation

Anyone with docker inspect or access to /proc can read them, and error reporters often capture the environment. Mounted files from a secret store with short lifetimes are safer.

Further reading

Problem with a question

Docker and CI/CD · Senior · question 19

Test yourself

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

Take this quiz