Update Secret Metadata
expires_at and strict_expiry_enforcement without changing the encrypted value.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | uuid | The secret ID |
Request Body
At least one field is required.| Field | Type | Description |
|---|---|---|
expires_at | string | null | ISO-8601 datetime for expiry, or null to clear |
strict_expiry_enforcement | boolean | true to block injection when expired; false for warn-only |
Response
Errors
| Status | Type | Description |
|---|---|---|
| 400 | validation_error | No fields provided, invalid expires_at, or non-boolean strict_expiry_enforcement |
| 404 | not_found | Secret not found |