A secure credentials manager.
It's free. It's offline. It's encrypted.
npm run deploy:prod
- init - Creates vault
- add - Adds credentials
- list - Lists accounts available
- show - Gets credentials
- export - Downloads all credentials to an encrypted file
- remove - Removes credentials from account
- update - Updates credentials
Allows creation of vault from scratch or from a vault backup
$ vault init --help
Options:
-f, --file <vlt.enc file> The vlt.enc file generated after exporting vault
$ vault init
Vault initialized!
See export to create vault backup
# vault init -f <vault file>
$ vault init -f /tmp/Vault/vault_1234456788.vlt.enc
Vault initialized!
# vault add <account>
$ vault add facebook
Enter vault password [A-a, 0-9, symbols]: ******
Enter user ID/email: thedev.ay
Enter password: **********
Notes:
Credentials added!
Note: This command won't show credentials!
$ vault list
+----------+
| Account |
+----------+
| facebook |
| netflix |
| twitter |
+----------+
# vault show [account]
$ vault show facebook
+----------+-----------+--------------------+-------+
| Account | UserId | Password | Notes |
+----------+-----------+--------------------+-------+
| facebook | thedev.ay | <plaintext string> | |
+----------+-----------+--------------------+-------+
$ vault show
+----------+-----------+--------------------+-------+
| Account | UserId | Password | Notes |
+----------+-----------+--------------------+-------+
| facebook | thedev.ay | <plaintext string> | |
| netflix | thedev.ay | <plaintext string> | |
| github | thedev.ay | <plaintext string> | |
+----------+-----------+--------------------+-------+
Creates an encrypted copy of your vault. See init to import vault.
$ vault export
Link to file: /tmp/Vault/vault_1588410242.vlt.enc
# Before delete
$ vault show
+----------+-----------+--------------------+-------+
| Account | UserId | Password | Notes |
+----------+-----------+--------------------+-------+
| facebook | thedev.ay | <plaintext string> | |
| netflix | thedev.ay | <plaintext string> | |
| github | thedev.ay | <plaintext string> | |
+----------+-----------+--------------------+-------+
# vault remove <account>
$ vault remove facebook
Enter vault password [A-a, 0-9, symbols]: ******
Enter user ID/email: thedev.ay
Credentials removed!
# After delete
$ vault show
+----------+-----------+--------------------+-------+
| Account | UserId | Password | Notes |
+----------+-----------+--------------------+-------+
| netflix | thedev.ay | <plaintext string> | |
| github | thedev.ay | <plaintext string> | |
+----------+-----------+--------------------+-------+
Updates can only be done for password and notes
# vault update <account>
$ vault update github
Enter vault password [A-a, 0-9, symbols]: ******
Enter user ID/email: thedev.ay
Update password? Yes
Enter password: ***********
Update notes? Yes
Notes: Some notes here
Credentials updated!
# vault show <account>
$ vault show github
+----------+-----------+--------------------+-----------------+
| Account | UserId | Password | Notes |
+----------+-----------+--------------------+-----------------+
| github | thedev.ay | <plaintext string> | Some notes here |
+----------+-----------+--------------------+-----------------+
Pull requests are welcome.