6 ms·
I use pass to manage such things separately. This allows to script around hard-coded secrets: export MY_TOKEN="$(pass token | head -n 1)"
by shoeffner 1y ago
I use pass to manage such things separately.
This allows to script around hard-coded secrets:
export MY_TOKEN="$(pass token | head -n 1)"
- lillecarl 1y agoI take care to wrap my commands in functions that export only for that scope. If you have exported variables in your bashrc it'll be shared with everything you spawn through your shell, including evil NPM packages.