Re:Rails 4.1.0 released
by joevandyk on Tuesday April 08, 2014 @06:12PM
(#7556349)
I keep secrets in the DB. Only thing in the ENV that matters is DATABASE_URL. I'm surprised more people don't do this.
[ Parent
| on HN ]
I like this approach but there is a trade-off - you're an SQL injection away from losing your secrets, as opposed to a RCE or file reading bug when they're stored in .env. SQL injection bugs are more likely.