3 ms·
On the other hand, without platform support there are not a lot of easy alternatives. It at least encourages separation of config and code, keeping secrets out
by 0cf8612b2e1e 3y ago
On the other hand, without platform support there are not a lot of easy alternatives. It at least encourages separation of config and code, keeping secrets out of vcs.
- andreimackenzie 3y agoAgree. The main benefit of environment variables is portability. They work pretty much the same way in every platform I have encountered. As soon as a system gets into files, it's possible to get bogged down in the complexity of Windows vs. Unix, file permissions, SELinux, etc. The simplicity is often worthwhile over the extra security theoretically possible with well-managed files.