Skip to content

MarcErdmann/zoho-vault-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set up

  • Make sure you are running Ubuntu and have a webbrowser installed
  • sudo apt install libsecret-1-dev
  • yarn install or npm install
  • Register the CLI as a web client in your Zoho Developer Console. The domain is localhost:37195 and the allowed callback url is http://localhost:37195/callback.
  • Provide your client's API key (API_KEY) and secret (API_SECRET) as environment variables or in a .env file.

Usage

  • Run node index get <secretname> <fieldname> to get a password from Zoho Vault. This will open a webbrowser and will complete after you granted access.

Important Information

This CLI will listen on port 37195 shortly to complete the OAuth flow. If this port is blocked, the CLI will not work. The access token for Zoho Vault will be stored in your Gnome Keyring.

Error Codes

Code Description
1 Unknown Error
9 Request for Login failed
10 Request for Secret to Zoho Vault failed
11 Secret not found in Zoho Vault
12 Secret has no such Field

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published