All apps/Vault

Vault

vault

Vault is a tool for securely accessing secrets.

Runs as vault|macOS, Linux, Windows|developer.hashicorp.com

Command form

ai-draft · 4 tasks · 9 fields

HashiCorp Vault CLI. Forms cover read, kv get, kv put and status; auth and server options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui vault

vault read

Read path

Read data from a Vault path.

Read pathExample values, fixed in this page — nothing here reaches a terminal
Basic
Path*
string
Only this field
string
Output format
4 choicesenum
TasksEach one presets the form for one job
Read
pathfieldformat
ParametersOnly these flags are editable in the form
Path
string · positional 0
secret/foo
Only this field
string
-field
Output format
enum
-formattablejsonyamlpretty

vault kv get

KV get

Get a secret from the key-value store.

KV getExample values, fixed in this page — nothing here reaches a terminal
Basic
Path*
string
Output format
4 choicesenum
TasksEach one presets the form for one job
Get secret
pathformat
ParametersOnly these flags are editable in the form
Path
string · positional 0
secret/foo
Output format
enum
-formattablejsonyamlpretty

vault kv put

KV put

Write key=value pairs to a secret. Values appear in shell history; prefer K=@file.json for sensitive data.

KV putExample values, fixed in this page — nothing here reaches a terminal
Basic
Path*
string
Data (K=V)*
string
TasksEach one presets the form for one job
Write secret
keydata
ParametersOnly these flags are editable in the form
Path
string · positional 0
secret/foo
Data (K=V)
Pairs like name=value or name=@file.json.
string · positional 1 · repeatable
Check-and-set version
string
-cas

vault status

Status

Print the seal and HA state of the Vault server.

StatusExample values, fixed in this page — nothing here reaches a terminal
Basic
Output format
4 choicesenum
TasksEach one presets the form for one job
Status
format
ParametersOnly these flags are editable in the form
Output format
enum
-formattablejsonyamlpretty
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed vault against its version. A form that does not match your version is not offered.