keytar-cli

0.1.0 • Public • Published

Keytar CLI

About

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 set -s service1 -a testuser
prompt: Enter the password for testuser@service1:  
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
$ keytar --help
keytar <cmd> [args]
 
Commands:
  keytar find --service <name>              find credentials for a service
  keytar set --service <name> --account     set credentials for a service
  <account>
 
Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]
 
$ keytar set -s service1 -a testuser
prompt: Enter the password for testuser@service1:  
Successfully set the creds for testuser@service1!
$ keytar find -s service1
Here are the creds for service1 [ { account: 'testuser', password: 'password' } ]

Package Sidebar

Install

npm i keytar-cli

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

4.16 kB

Total Files

6

Last publish

Collaborators

  • renode