Secrets management using Docker secrets

In the preceding examples when we created the db service, we didn't actually configure the application to integrate with the db service, as although we were focusing on how to create persistent storage, another reason I did not integrate the app service with the db service is because we are currently configuring passwords for the db service in plaintext, which is not ideal.

Docker Swarm includes a feature called Docker secrets, which provide a secure secrets management solution for providing secrets to applications running on your Docker Swarm clusters. Secrets are stored in an internal encrypted storage mechanism called the raft log, which is replicated to all nodes in your cluster, ensuring that ...

Get Docker on Amazon Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.