1.0.3 • Published 4 years ago
@windingtree/secure-env-cli v1.0.3
Secure ENV CLI
CLI for running scripts using encrypted environment variables
Usage
yarn add @windingtree/secure-env-cli
yarn linkENV encryption
npx senv --encrypt ./path/to/raw/env/fileYou will be prompted for a password. An encrypted file will be saved on the same path with .senv extension.
Decryption of encrypted file
senv --decrypt ./path/to/encrypted/file.senvYou will be prompted for a password. A decrypted file will be saved on the same path with .env extension.
Command execution
senv ./path/to/encrypted/file.senv "./path/to/command/or/script --param1 --param2"Development environment
Setup
yarn installBuild
yarn buildTests
yarn test
yarn test:coverage