Docs · static mirror — the interactive version loads with JavaScript.

HashiCorp Vault

Source: https://runstack.engineer/docs/toolkits/vault

Secrets and policies: KV v2 read/write/list, mounts, seal/HA health, ACL policies, and token lifecycle via the Vault HTTP API.

Tools (18):

ToolDescription
vaultKvReadRead the latest version of a secret from a KV secrets engine v2 mount (GET .../data/{path}).
vaultKvWriteWrite secret data to KV v2 (POST .../data/{path}). Supports check-and-set via cas option.
vaultKvDeleteDelete the latest version of a KV v2 secret (DELETE .../data/{path}).
vaultKvListList secret keys under a path in KV v2 (LIST .../metadata/{path}).
vaultKvReadMetadataRead KV v2 secret metadata (versions, custom metadata, delete flags).
vaultKvDeleteMetadataPermanently delete all versions and metadata of a KV v2 secret.
vaultKvDestroyVersionsPermanently destroy specific KV v2 secret versions (POST .../destroy/{path}).
vaultGetHealthCheck Vault health and seal status (GET /sys/health). Uses address from credentials; does not require a valid token.
vaultListMountsList enabled secrets engines and auth methods (GET /sys/mounts).
vaultReadMountRead configuration of a specific mount (GET /sys/mounts/{path}).
vaultGetSealStatusGet seal status (GET /sys/seal-status).
vaultGetLeaderGet HA leader address (GET /sys/leader).
vaultListPoliciesList ACL policies (GET /sys/policies/acl?list=true).
vaultReadPolicyRead an ACL policy document by name (GET /sys/policies/acl/{name}).
vaultLookupSelfLook up the current token (policies, TTL, metadata) via /auth/token/lookup-self.
vaultRenewSelfRenew the current token lease (POST /auth/token/renew-self).
vaultRevokeSelfRevoke the current token (POST /auth/token/revoke-self).
vaultAppRoleLoginExchange AppRole role_id and secret_id for a client token (POST /auth/approle/login). Prefer storing roleId/secretId in connect credentials so other tools login automatically.