secrets_get_secret
Retrieve metadata of a secret by ID, including name, tags, and version count, without exposing the secret value.
Instructions
Get metadata of a single secret by ID.
This returns metadata only (name, tags, version count, ...), never the
stored secret value. Use access_secret_version to read a value.
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 |
|---|---|---|---|
No arguments | |||