🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

vault-cli

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vault-cli

CLI for HashiCorp's Vault

Source
npmnpm
Version
0.0.4
Version published
Weekly downloads
16
-15.79%
Maintainers
1
Weekly downloads
 
Created
Source

Vault CLI

CLI for HashiCorp's Vault.

Assumptions:

  • Requires Node >= 7.
  • GitHub is the only supported Auth Backend.
  • Your secret endpoint URL is - VAULT_ADDR/v1/secret/project/environment.

Install

$ npm install vault-cli -g

Usage

Add environment variables:

$ export VAULT_ADDR=YOUR_VAULT_ADDRESS
$ export VAULT_AUTH_TOKEN=YOUR_VAULT_TOKEN

Help

$ vault-cli help

Read ALL Secrets

$ vault-cli PROJECT ENVIRONMENT read

Add a SINGLE Secret

$ vault-cli PROJECT ENVIRONMENT add SECRET_NAME SECRET_VALUE

Remove a SINGLE Secret

$ vault-cli PROJECT ENVIRONMENT remove SECRET_NAME SECRET_VALUE

FAQs

Package last updated on 15 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts