pvault

1.0.3 • Public • Published

pvault

Save your api keys in a password protected file on your repo.

Demo

demo-gif

Getting started

npm install && npm test

CLI

Create a new vault

pvault create <name>

List existing vaults

pvault list

Shell

Once a vault is open, the following commands are available :

  • set <key> <value>

  • unset <key>

  • get <key>

  • dump

  • exit

Opening a vault from the application

  var pvault    = require('pvault');
  var Vault     = pvault(process.cwd()); // Vault folder
 
  var apiKeys = new Vault('apiKeys', process.ENV.PVAULT_PASSWORD);
  
  apiKeys.get('github');

Package Sidebar

Install

npm i pvault

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

191 kB

Total Files

12

Last publish

Collaborators

  • patrixr