4 ms·
Command-line tool that reads a file and injects them as env vars
- werediver 9y agoThe description of the tool does not say it directly, but it seems that the purpose of the tool is to increase security of your project during development and production. But does it really improve the security?
- nerdponx 9y agoThis is a great idea! I'll try it out.
- YuriNiyazov 9y agoDoes it inject them into an already running process? Or it starts a new one?
- alexchamberlain 9y agoIt would be good to document how it handles signals that it receives wrt how the child process will see them.
- bostik 9y agoThis looks like a re-imagined version of envdir, from DJB's daemontools.[0] 0: https://cr.yp.to/daemontools/envdir.html https://cr.yp.to/daemontools/envdir.html
- kolanos 9y agoexport $(cat .env | xargs)
- ronsor 9y ago`env - $(cat .env) command ?arguments?` Works on (almost) any linux system.
- secgfduud 9y agoThis will cause all your secrets to show up in the process listing, readable by all users on the host.
- maniacalrobot 9y agoSee also https://github.com/bkeepers/dotenv https://github.com/bkeepers/dotenv