vault_store
Securely store API credentials with encrypted-at-rest secrets. Supports provider presets to auto-configure authentication headers for APIs like OpenAI or Stripe.
Instructions
Store a new API credential in the secure vault. The secret value is encrypted at rest and never returned in responses. Use provider presets (e.g. "openai", "stripe") to auto-configure auth headers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"credential_type": "<credential_type>",
"value": "<value>"
},
"name": "vault_store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for this credential (e.g. "OpenAI Production Key") | |
| notes | No | Private notes about this credential | |
| value | Yes | The secret value (API key, token, etc.). Write-only: never returned in responses. | |
| scopes | No | OAuth scopes or permission labels for this credential | |
| provider | No | Provider name (e.g. "openai", "stripe", "github"). Auto-configures auth headers if a preset exists. | |
| auth_header | No | HTTP header name for injection (default: "Authorization") | |
| auth_prefix | No | Value prefix (e.g. "Bearer", "Basic", "Token") | |
| description | No | Optional description of what this credential is used for | |
| credential_type | Yes | Type of credential: api_key, bearer_token, basic_auth, oauth2, custom_header | |
| injection_method | No | How to inject: header, query, body, url |