by rcoh · 13y ago · 0 comments
Still, much better than keeping the passwords in VC unprotected, of course.
My preference still is using environment variables so that the secure bits can be fully decoupled from your code, however..
If you're not familiar with the practice, I'd encourage you to read the "twelve-factor" section on configuration: http://www.12factor.net/config . The advice applies even if you're not using Heroku for hosting.
To be honest, not having secrets under some kind of source control seems like a bad idea, as you just know that the reality is that they will be in an untracked spreadsheet somewhere.