bma vaults archive
Archive a vault
POST /v1/vaults/{vault_id}/archive
bma vaults create
Create a vault
Create a vault.
Creates a new vault in the selected project (or the default project); it never returns an existing one.
POST /v1/vaults
bma vaults credentials
Manage vaults credentials
Options
bma vaults credentials archive
Archive a credential
POST /v1/vaults/{vault_id}/credentials/{credential_id}/archive
bma vaults credentials create
Create a credential
Create a credential.
static_bearer and environment_variable store a generic secret, mcp_oauth an oauth_token_set. injection_location defaults to header only. expires_at and refresh settings are stored as given.
POST /v1/vaults/{vault_id}/credentials
bma vaults credentials delete
Delete a credential
DELETE /v1/vaults/{vault_id}/credentials/{credential_id}
bma vaults credentials get
Retrieve a credential
GET /v1/vaults/{vault_id}/credentials/{credential_id}
bma vaults credentials list
List credentials
GET /v1/vaults/{vault_id}/credentials
bma vaults credentials mcp-oauth-validate
Validate an MCP OAuth credential
Validate an MCP OAuth credential.
Anthropic’s vaults.credentials.mcp_oauth_validate. Live-probes the credential’s MCP server (initialize, tools/list); a 401 with a stored refresh token refreshes the access token and probes again. Only mcp_oauth credentials that are not archived can be validated (400 otherwise).
POST /v1/vaults/{vault_id}/credentials/{credential_id}/mcp_oauth_validate
bma vaults credentials update
Update or rotate a credential
Update or rotate a credential.
A new secret value is a new native secret version; auth.type must match and mcp_server_url and secret_name are immutable. Changing an mcp_oauth credential rewrites its whole token set (see McpOAuthUpdate).
POST /v1/vaults/{vault_id}/credentials/{credential_id}
bma vaults delete
Delete a vault
Delete a vault.
Deletes the vault and every credential in it.
DELETE /v1/vaults/{vault_id}
bma vaults get
Retrieve a vault
GET /v1/vaults/{vault_id}
bma vaults list
List vaults
List vaults.
Vaults of the project selected with bma-workspace-id, or of every project the key sees. limit is 1-100 (default 20).
GET /v1/vaults