HashiCorp Vault
Secrets (KV), policies, tokens, PKI and cluster status
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Vault URLRequiredHTTPS URL
- Token (hvs.…)SecretRequired
- NamespaceOptional
Where to find them
- Create a policy with just what is needed, e.g. read-only: vault policy write culturewire-read policy.hcl, with the capabilities read and list on the paths it will query (e.g. secret/data/* and secret/metadata/*).
- Create a token with that policy: vault token create -policy=culturewire-read -display-name=culturewire -orphan -period=720h, and copy the “token” value (hvs.…).
- A periodic token expires if it is not renewed within its period (here, 30 days): renew it with vault token renew or by asking the agent to POST /auth/token/renew-self. In Vault Enterprise or HCP Vault Dedicated also enter the namespace.
Tools (2)
HashiCorp Vault API request
VAULT_SEND_REQUESTAuthenticated call to the HashiCorp Vault API ({url}/v1). Any endpoint of the API is allowed. Each path needs permission in the token's policy. KV v2 (“secret” engine): GET /secret/metadata/{folder}?list=true (lists keys, without values), GET /secret/data/{path} (reads the secret: returns the values in plain text), GET /secret/metadata/{path} (versions and dates), POST /secret/data/{path} {"data": {"key": "value"}} (creates a new version). Others: GET /sys/health, GET /sys/seal-status, GET /sys/mounts, GET /sys/auth, GET /sys/policies/acl?list=true, GET /sys/policies/acl/{name}, GET /sys/audit, GET /auth/token/lookup-self, POST /auth/token/renew-self, GET /identity/entity/id?list=true, POST /pki/issue/{role} {"common_name": "…", "ttl": "72h"}, GET /database/creds/{role}, POST /transit/encrypt/{key} {"plaintext": "<base64>"}. To list use GET with list=true (equivalent to LIST).
Required scopes
No scopes required
Input
HashiCorp Vault API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. List secrets (without values)
VAULT_LIST_SECRETSLists the keys and subfolders (ending in /) of a path in a KV engine without reading any value. To read a specific secret, use VAULT_SEND_REQUEST with GET /{engine}/data/{path} (KV v2) or GET /{engine}/{path} (KV v1).
Required scopes
No scopes required
Input
List secrets (without values) input Name Type Description enginestringPath of the KV engine, e.g. secret or kv (GET /sys/mounts lists them)Default: "secret"pathstringFolder inside the engine, e.g. apps/web (empty: the root)Default: ""versionstringKV engine versionOne of: 1,2Default:"2"

