Set a custom secret
PUT /v1/credentials/custom/:key — Store a value under any freeform key in the `custom` slot (atomic + file-locked). The value is write-only — the response
PUT /v1/credentials/custom/:key
Store a value under any freeform key in the custom slot (atomic + file-locked). The value is write-only — the response returns the masked key list, never the value just written.
| Method | PUT |
| Path | /v1/credentials/custom/:key |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | preferences |
Request body
{ "value": "sk-..." }