Show the current token

Show the TTL, policies and other details of the current token

vault token lookup

tool
vault31 commands
tags
vault

More vault commands

  • vault token renew

    Extend the TTL of the current token

  • vault status

    Show the seal status, HA mode and cluster info

  • vault secrets enable -path=secret kv-v2

    Mount a KV version 2 secrets engine at secret/

  • vault kv put secret/myapp/config db_password=s3cr3t api_key=abc123

    Save 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

all 31 vault commands