Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Latest commit

 

History

History
40 lines (25 loc) · 608 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 608 Bytes

master-password

Simple secrets manager for Node.js.

First start

You need to generate a master password, which is used to encrypt the secrets. The hashed password is saved in a file called .password

node src/createHash.js YOUR_MASTER_PASSWORD

Usage

There are three commands: set, unset and get Secrets are saved by a KEY, which is unique.

set

Use set to add or update a secret:

node src/app.js add KEY VALUE

unset

Use unset to remove a secret:

node src/app.js unset KEY

get

User get to receive a secret:

node src/app.js get KEY