safe

A CLI to interact with HashiCorp Vault.

TLDR

Add a safe target

>_ safe target [vault_addr] [target_name]
copy

Authenticate the CLI client against the Vault server, using an authentication token

>_ safe auth [authentication_token]
copy

Print the environment variables describing the current target

>_ safe env
copy

Display a tree hierarchy of all reachable keys for a given path

>_ safe tree [path]
copy

Move a secret from one path to another

>_ safe move [old/path/to/secret] [new/path/to/secret]
copy

Generate a new 2048-bit SSH keypair and store it

>_ safe ssh [2048] [path/to/secret]
copy

Set non-sensitive keys for a secret

>_ safe set [path/to/secret] [key]=[value]
copy

Set auto-generated password in a secret

>_ safe gen [path/to/secret] [key]
copy

Copied to clipboard
free 100$ digital ocean credit