Skip to content
/ pvault Public

Small tool for storing keys in a password protected files. Can be used for api keys in a repo

License

Notifications You must be signed in to change notification settings

patrixr/pvault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Small tool for storing keys in a password protected files. Can be used for api keys in a repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published