SecretUpdateRequest
Renames a secret, replaces its value, or both.
Kind: an object, used in requests.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | The secret’s name. Constraints: minLength: 1, required (empty or whitespace-only strings are rejected). |
value | string | null | A new value, kept exactly as sent. Null or omitted: the stored value is kept. Constraints: minLength: 1. |
Example
Section titled “Example”{ "name": "...", "value": "..."}Where it’s used
Section titled “Where it’s used”secrets.update(PUT /secrets/by-id/{id})