1

For example, I need to "dockerize" PostgreSQL, MongoDB and Redis each one to a separate container. I want to create a secure passwords-protected users/roles for that storages and then access them from a several dockerized applications. Dockerfiles are surely under the VCS and I won't keep any passwords there. Is there any best practices for managing passwords/credentials for dockerized systems?

baao
  • 71,625
  • 17
  • 143
  • 203
Dan K.K.
  • 5,915
  • 2
  • 28
  • 34
  • 2
    env file, etcd, consul - http://stackoverflow.com/questions/30749899/hide-obfuscate-environmental-parameters-in-docker – Sergei Rodionov Jul 31 '15 at 21:21
  • 2
    Check out vault: https://vaultproject.io/. It has special added support or Postgres https://vaultproject.io/docs/secrets/postgresql/index.html – Mark O'Connor Aug 01 '15 at 08:06

1 Answers1

0

After a while I found a good choice to keep/manage secret environment variables using the now tool, take a look: https://zeit.co/blog/environment-variables-secrets

Dan K.K.
  • 5,915
  • 2
  • 28
  • 34