No more accidental key leaks. Use encrypted environment variables when running your scripts.
yarn add @windingtree/secure-env-cli
yarn link
npx senv --encrypt ./path/to/raw/env/file
You will be prompted for a password. An encrypted file will be saved on the same path with .senv
extension.
senv --decrypt ./path/to/encrypted/file.senv
You will be prompted for a password. A decrypted file will be saved on the same path with .env
extension.
senv ./path/to/encrypted/file.senv "./path/to/command/or/script --param1 --param2"
yarn install
yarn build
yarn test
yarn test:coverage