SecretCreateRequest
Stores a new secret.
Kind: an object, used in requests.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | The secret’s name, which definitions use to refer to it. Constraints: minLength: 1, required (empty or whitespace-only strings are rejected). |
value | string | yes | The secret value, kept exactly as sent (whitespace included). It is never returned. Constraints: minLength: 1, required (empty or whitespace-only strings are rejected). |
Example
Section titled “Example”{ "name": "...", "value": "..."}Where it’s used
Section titled “Where it’s used”secrets.create(POST /secrets)