-
Notifications
You must be signed in to change notification settings - Fork 87
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
Support of secrets files #47
Comments
@JohnCytron, do secrets also work also without swarm? I didn't try it yet and found different statements about. |
Yes, if you declare as a file:
It will create a file inside the container: But you need to create a file for each environments |
@JohnCytron, thanks for getting back! Somehow I didn't get where the extra safety comes from. What is the difference between storing the password in .env or a separate file? Both have same permission and both end up as environment variable, isn't it? Don't get me wrong, I'm not against if it makes sense, just didn't get the trick yet. |
After some research, like you I don't really get it. The only difference I found, you don't expose your secret with |
Hi,
It will be nice to add a support of Secrets files for environment like the official mysql container. for passwords.
Easy to deploy and more secure than exposing clear password.
Something like this will be perfect:
Cheers,
The text was updated successfully, but these errors were encountered: