Skip to content
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 external credentials files/env vars #12

Open
danielkza opened this issue Aug 12, 2017 · 3 comments
Open

Support external credentials files/env vars #12

danielkza opened this issue Aug 12, 2017 · 3 comments

Comments

@danielkza
Copy link
Contributor

Would make it much easier to automate migrations in different environments.

@fernandezjose
Copy link
Contributor

fernandezjose commented Oct 11, 2017

Doesn't #23 PR partially solve this issue?

@danielkza
Copy link
Contributor Author

@ppcuban It does help for people that rely solely on TLS for client authentication, but when using password authentication (either in addition, or on it's own) a credential file would still be helpful.

What I would like to avoid is for people to include secrets in the same repository as their migrations, as I find that to be much more prone to human errors, such as accidentally working in a production database when you didn't mean to.

@Roguelazer
Copy link

Would you be open to a commit that adds a --password-environment-variable-name option which would read the password from an environment variable so that it (a) is easier to automate in multiple environments, and (b) doesn't leak passwords in ps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants