op-env

1.0.2 • Public • Published

OP-ENV

op-env is a project that uses the 1password cli (op) to convert a secure note in a 1password vault to a local .env file with plain text secrets (for development purposes) and a .env.secrets file with references to 1password entries which you can use in ci.

Contents

Usage

Get op-env get -- -n -e -n, --name Name of the item -e, --environment Environment to create the item in

Set op-env set -- -v -f -t <title> -v, --vault Vault to create the item in -f, --env-file Path to the env file -t, --title <title> Title of the item

Development

# Run in development mode
npm run dev

Production

# Create a production build
npm run build

# Run the production build
npm run start

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

ISC

Readme

Keywords

Package Sidebar

Install

npm i op-env

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

12.5 kB

Total Files

19

Last publish

Collaborators

  • benjijanssens
  • samvanhoey
  • jaspervercammen
  • codeinineo
  • ethanfoust
  • jensicapps
  • willemhorsten
  • dgyesbreghs