Credentials nested under a vault. Each credential binds to a single
mcp_server_url and provides auth material (static bearer token or
OAuth refresh config) that the session runtime injects when the agent
connects to the MCP server.
Secret fields (token, access_token, refresh_token,
client_secret) are write-only and never returned in responses.
Summary
Functions
Archive a credential. Purges the secret payload while preserving the
record for auditing. Frees up the mcp_server_url for a replacement.
Functions
@spec archive(String.t(), String.t(), keyword()) :: {:ok, map()} | {:error, ReqAnthropic.Error.t() | Exception.t()}
Archive a credential. Purges the secret payload while preserving the
record for auditing. Frees up the mcp_server_url for a replacement.
@spec create( String.t(), keyword() ) :: {:ok, map()} | {:error, ReqAnthropic.Error.t() | Exception.t()}
@spec delete(String.t(), String.t(), keyword()) :: {:ok, map()} | {:error, ReqAnthropic.Error.t() | Exception.t()}
@spec get(String.t(), String.t(), keyword()) :: {:ok, map()} | {:error, ReqAnthropic.Error.t() | Exception.t()}
@spec list( String.t(), keyword() ) :: {:ok, map()} | {:error, ReqAnthropic.Error.t() | Exception.t()}
@spec update(String.t(), String.t(), keyword()) :: {:ok, map()} | {:error, ReqAnthropic.Error.t() | Exception.t()}