create
POST /v1/vaults. VaultCreate is { display_name, identity_id? } — bind the vault to one persona (its idn_ id or its name) or leave it org-wide. An identity_id that is not an identity in your organization answers 404 not_found.
list
GET /v1/vaults, cursor-paginated.
get
GET /v1/vaults/{id}.
delete
DELETE /v1/vaults/{id}. Soft-deletes the vault; its credentials go for real. Irreversible for the secrets.
credentials.create
POST /v1/vaults/{id}/credentials — the only call in the system that carries a secret. value travels once, on this call, and is sealed server-side; the response is metadata only.
static_bearer or mcp_oauth. env_var is part of the type but not available: it is refused with 501 feature_not_configured and nothing is stored.Optional expiry, an RFC 3339 timestamp in the future. A past one is refused with
400 validation_failed.credentials.list
GET /v1/vaults/{id}/credentials. Metadata only — key, kind, last_injected_at; never a value.
credentials.delete
DELETE /v1/vaults/{id}/credentials/{credential_id}.
Rotation is create-new + delete-old. There is no update, so last_injected_at stays attributable to exactly one secret.