@windingtree/secure-env-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Secure ENV CLI

CLI for running scripts using encrypted environment variables

Usage

yarn add @windingtree/secure-env-cli
yarn link

ENV encryption

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.

Decryption of encrypted file

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.

Command execution

senv ./path/to/encrypted/file.senv "./path/to/command/or/script --param1 --param2"

Development environment

Setup

yarn install

Build

yarn build

Tests

yarn test
yarn test:coverage

Package Sidebar

Install

npm i @windingtree/secure-env-cli

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

24.4 kB

Total Files

30

Last publish

Collaborators

  • kostysh
  • kvakes
  • tomashq