-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Managing secrets #1534
Comments
@aanand I asked the docker security maintainers to have a look at secrets in moby/moby#13490. A nice proof-of-concept for using the new volume-drivers to connect to password managers, can be found here https://github.com/calavera/docker-volume-keywhiz-fs. |
This might be resolved now that we have environment variable interpolation? |
@dnephin not entirely sure; it depends a bit on what is regarded a "proper" way to pass secrets (environment variables should not really be used for secrets in Docker), again, see moby/moby#13490. Not sure of compose can do anything about that currently, apart from supporting named volumes, and volume drivers. |
#4368 🎉 |
An issue brought up both by @fxdgear:
@dhiltgen also brought up the same issue, and suggested adding the ability to do Bash-style shell command substitution like
MYPASSWORD=$(pass show dev/.../password)
. But executing commands on the host machine is extremely unportable - this is also why we don't want to add anything like pre/post hooks for the container lifecycle.So the problem here is getting secrets into containers without coupling Compose to anything host-specific, let alone a specific password storage tool.
So far, the only step towards making this easier is #1488, which will at least remove some of the hassle from generating a YAML configuration to pass to Compose.
The text was updated successfully, but these errors were encountered: