List secrets at path
List all keys under a KV v2 prefix
vault kv list secret/myapp/
- tool
- vault31 commands
More vault commands
-
vault token create -policy=read-only -period=24h -display-name=ci-pipelineIssue a renewable token with a 24h TTL for CI
-
vault auth enable kubernetes && vault write auth/kubernetes/config kubernetes_host=https://kubernetes.default.svcAllow pods to authenticate with Vault via ServiceAccount JWT
-
vault read database/creds/readonly-roleObtain short-lived Postgres credentials from the database secrets engine
-
vault operator seal vault operator unseal $UNSEAL_KEYManually seal or unseal Vault with an unseal key shard
-
vault kv patch -mount=secret app api_key=<id>Update one field without rewriting the whole secret; note: kv patch needs KV-v2