Show the current token
Show the TTL, policies and other details of the current token
vault token lookup
More vault commands
-
vault token renewExtend the TTL of the current token
-
vault statusShow the seal status, HA mode and cluster info
-
vault secrets enable -path=secret kv-v2Mount a KV version 2 secrets engine at secret/
-
vault kv put secret/myapp/config db_password=s3cr3t api_key=abc123Save several key-value pairs at one path
-
vault kv get -format=json secret/myapp/config | jq '.data.data'Read a KV v2 secret and show only the data