secrets_list_secret_versions
Retrieve metadata for all versions of a secret, including revision, status, and timestamps, without exposing stored values.
Instructions
List the versions of a secret.
Returns version metadata (revision, status, timestamps) only, never the stored values.
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": "secrets_list_secret_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Region to target. Defaults to the configured region. | |
| secret_id | Yes | The secret ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |