by tedk-42 · 5y ago · 0 comments
Having used the profiling tool TAU (subtle dig), I instantly understood what the author is driving at, and I somewhat agree for many use cases. I shouldn't have to fill my dotfiles with 10 new variables just to use a utility.
But I was assigned a task last year to remove configuration from environment variables (for security reasons). I deployed my work to 'production'.
Configuration files are resistant to this as you note, but command-line arguments are not (--password=1234 will show up in ps for everyone).
Tight control of egress network traffic is better but more difficult to implement.
Found this:
https://diogomonica.com/2017/03/27/why-you-shouldnt-use-env-...
https://security.stackexchange.com/questions/197784/is-it-un...
I think you're wrong about that. The blog post author is also author of Meson, the build system.