secret.set

Store or rotate a write-only credential (PSP keys). Values are never readable back.

Payload

fieldtyperequirednotes
keystring (/^[a-z0-9_]+(\.[a-z0-9_]+)*$/, ≤128 chars)yes
valuestring (≤4096 chars)yes

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "maxLength": 128,
      "pattern": "^[a-z0-9_]+(\\.[a-z0-9_]+)*$"
    },
    "value": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096
    }
  },
  "required": [
    "key",
    "value"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/secret.set.md