0.1.2 • Published 3 years ago

keytar-cli-2 v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Keytar CLI

Release License: MIT

keytar cli is a simple command line interface into GitHub's node-keytar - a password/secrets management utility written for node.

Getting Started

$ npx keytar-cli-2 set -s service1 -a testuser -p xxxxxx
Successfully set the creds for testuser@service1!

$ npx keytar-cli find -s service1
Here are the creds for service1 [ { account: 'testuser', password: 'password' } ]

or

$ npm install -g keytar-cli-2
$ keytar --help
keytar <cmd> [args]

Commands:
  keytar delete-pass [service] [account]          Delete the stored password for the `service` and `account`
  keytar find-creds [service]                     Find all accounts and password for the `service` in the keychain
  keytar find-pass [service]                      Find a password for the `service` in the keychain
  keytar get-pass [service] [account]             Get the stored password for the `service` and `account`
  keytar set-pass [service] [account] [password]  Save the `password` for the `service` and `account` to the keychain

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

$ keytar set -s service1 -a testuser -p xxxxxx
Successfully set the creds for testuser@service1!

$ keytar find -s service1
Here are the creds for service1 [ { account: 'testuser', password: 'password' } ]
0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago