Integrated into Docker swarm, Docker secrets gives a complete and secure way to manage sensitive data shared with your containers. No more environment variables or worth plain text files with username and password shared or baked into your containers.
Full article