Vault API
Vault stores write-only credentials through /vault/v1, with a compatibility face at /anthropic/v1/vaults. Concepts and behavior follow Anthropic vaults (credential collections, write-only values, rotation and archival), so Anthropic experience applies. Differences: native secrets use names and static/oauth kinds; native OAuth uses authorizations, while compatible mcp_oauth creation and updates return 501; native allowed_hosts may be omitted and then stays an empty list, which no destination matches at redemption, while Anthropic credentials still require nonempty allowed_hosts. allowed_hosts is validated when the secret is written, enforced when the vault hands a value to a destination host, and applied by MCP credential matching, where a *. entry covers subdomains and never the apex; a service agent’s session environment carries no credential that declares hosts and no OAuth token; by-name plaintext resolution still returns a value without checking a destination host (open gap tracked in #3294). A session carries the vaults of its agent plus its own vault_ids (at most 50 together, owned by the organization and not archived); the agent’s vaults come from vault_ids on agents.create or agents.update, which a department or organization rule’s grants also write, and sessions.create or sessions.update add or replace the session’s own. Deployments take vault_ids too. The credentials are matched against the session’s MCP servers, so vault-backed MCP authentication works, and the secrets of those vaults reach the session’s machine as environment variables named after the secret, with their real values, in every command it runs, for every agent kind; a name that is not a shell variable name, an empty value and the names the platform login owns are left out, and a service agent’s session also leaves out OAuth credentials and secrets that declare allowed_hosts. allowed_hosts does not limit what a command does with an exported value; there is no egress substitution (ADR-058 §6 is suspended). The environment is read when a command first runs and kept for that machine and vault set, so a secret added or rotated later shows after the machine restarts or the vault set changes. Application vault references return 501, including praxis_vault_ref bindings and secret writes with a vault source. Metadata labels do not attach credentials to either resource. Start with praxis.vault.vaults.create to create the containing vault.
Use your API Key as a Bearer credential to manage vaults and secrets at the address below. Secret values are write-only; no endpoint returns them.
https://api.deepraxis.com/vault/v1
| Resource | Path |
|---|---|
| Vaults | /vault/v1/vaults |
| Secret | /vault/v1/vaults/{vault_id}/secrets |
| Templates | /vault/v1/templates |
| Authorizations | /vault/v1/authorizations |
Address a secret by its name or its vsec_ ID. Lists page with cursor and limit (default 50, at most 200); a null next_cursor means there is no next page.
The same vaults are also reachable through the Claude Managed Agents vaults API: Claude Managed Agents