Set an app secret
set_secretSet one per-app SECRET (confidential config: an API key, token, or connection string). The value is stored ENCRYPTED at rest and injected DECRYPTED into your app at deploy — the app reads it via ctx.secret("") (NEVER an env var; the code gate bars std::env). Owner-gated; the value is write-only (never returned by the API). Bounds: name [A-Za-z0-9_.-] <=64, value <=64 KiB, <=64 secrets per app. Returns {SecretSet:{app,name}}.
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": {
"app": "<app>",
"name": "<name>"
},
"name": "set_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| name | Yes | ||
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused | |
| value | No | Secret value. Omit on MCP 2026-07-28 clients supporting URL elicitation to enter it directly in the Ferrite Dashboard without sending it through chat. |