This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
pvault with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Save your api keys in a password protected file on your repo.
npm install && npm test
Create a new vault
pvault create <name>
List existing vaults
Once a vault is open, the following commands are available :
set <key> <value>
var pvault = require('pvault'); var Vault = pvault(process.cwd()); // Vault folder var apiKeys = new Vault('apiKeys', process.ENV.PVAULT_PASSWORD); apiKeys.get('github');