Vault
The Vault page connects TAO to a HashiCorp Vault, the secure store for workflow credentials, MCP tokens and connector secrets. Until Vault is set up, those features cannot store secrets.
Open the page
Go to Administration → Vault (/admin/vault). It is titled Credential Vault: "Workflow credentials, MCP auth tokens, and connector secrets are stored here. Vault must be configured for any of those features to work." Platform admins only. The menu entry is gated by apex.admin.config, but the server checks apex.admin.platform_secrets.
The status banner
It reads Vault is configured or Vault is not configured, with "Backend: … · Mode: … · Address: …", an optional "Error: …" and a Reload button. It refreshes every 30 seconds.
Set it up
Choose a mode
Production (HSM / KMS-backed Vault cluster) or Development (single-node vault server -dev).
Enter the connection details
See the table below.
Test connection
Click Test connection (it is disabled until the address and token are filled). A good result reads "Reachable, authenticated, mount 'secret' confirmed." A bad one reads "Vault rejected the credentials. Check addr / token / mount." or the server's error. Testing does not save anything.
Save configuration
Click Save configuration. The change is applied to the running gateway without a restart.
| Field | What to enter |
|---|---|
| Mode | Production or Development |
| KV mount | The secrets store name, default secret |
| Vault address | For example https://vault.your-company.internal |
| Token | A token that can read and write on the mount (KV version 2). Show / Hide reveals it. |
| Namespace (Vault Enterprise) | Optional |
Generate dev mode values fills the form with http://127.0.0.1:8200, mount secret, development mode and a random development token. It only fills the boxes: it does not start a Vault server.
A help panel, Self-hosted quick start, lists three steps and ends "Test connection → Save configuration." A Production / managed note says "APEX never logs token values."
Where the settings are kept
The settings are saved in the platform's configuration table, and the connection is rebuilt in the running gateway. Until it is configured, secrets run in a stub mode and are not stored securely.