1.0.3 • Published 6 years ago

pvault v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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');