Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> One thing that I think could be updated in the 12F approach is the use of env vars for config, especially secrets.

The 12F section on config already mentions quite prominently the use of config files.

Taken from https://12factor.net/config

> "Another approach to config is the use of config files which are not checked into revision control, such as config/database.yml in Rails. This is a huge improvement over using constants which are checked into the code repo, but still has weaknesses: it’s easy to mistakenly check in a config file to the repo; there is a tendency for config files to be scattered about in different places and different formats, making it hard to see and manage all the config in one place. Further, these formats tend to be language- or framework-specific."



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: