mirror of https://github.com/docker/docs.git
621 B
621 B
title | keywords | fetch_remote | ||||
---|---|---|---|---|---|---|
Secrets top-level element | compose, compose specification |
|
Secrets provide a more secure way of getting sensitive information in to your application's services, so you don't have to rely on using environment variables. If you’re injecting passwords and API keys as environment variables, you risk unintentional information exposure. Environment variables are often available to all processes, and it can be difficult to track access. They can also be printed in logs when debugging errors without your knowledge. Using Secrets mitigates these risks.