get_secret
Retrieve Barbican secret metadata by ID without exposing its payload; set reveal=true to fetch the secret value when needed.
Instructions
Get a Barbican secret.
Service: Barbican (key-manager). Read-only. Does not mutate state. By default this returns metadata only: name, type, algorithm, bit length, mode, id, and expiration, plus a warning. The payload is fetched only when reveal=true. Payloads are not logged.
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": {
"secret_id": "<secret_id>"
},
"name": "get_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reveal | No | ||
| secret_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||