docs/content/includes/compose/secrets.md

358 B
Raw Blame History

Docker Compose provides a way for you to use secrets without having to use environment variables to store information. If youre injecting passwords and API keys as environment variables, you risk unintentional information exposure. Services can only access secrets when explicitly granted by a secrets attribute within the services top-level element.