Simple secrets manager for Node.js.
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
There are three commands: set
, unset
and get
Secrets are saved by a KEY, which is unique.
Use set
to add or update a secret:
node src/app.js add KEY VALUE
Use unset
to remove a secret:
node src/app.js unset KEY
User get
to receive a secret:
node src/app.js get KEY