DEV Community

loading...

Discussion on: Handling Passwords and Secret Keys using Environment Variables

Collapse
mateuszjarzyna profile image
Mateusz Jarzyna

Keeping passwords in .bash_profile is terrible idea. Especially when you have more than one application.
The much better way is to store the credentials in files and take care of the chmod.

Collapse
biplov profile image
Biplov Author

Thank you for your suggestion. I have updated the post with a way to store credentials in a separate file in a project.