Secrets

Set a secret

Creates or replaces the secret with this name. Names start with a letter or underscore and contain only letters, digits, and underscores. Values are up to 16,384 characters; they are stored encrypted, redacted from function output when 8 or more characters, and never returned. At most 100 secrets per website.

put/websites/{websiteId}/secrets/{name}

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/websites/{websiteId}/secrets/{name}
  • Auth: HTTP bearer

Path parameters

websiteIdstring required
namestring required

Request body

valuestring required

The secret value. It is stored encrypted and never returned.

Response

The secret name and timestamps.

namestring required
createdAtstring required
updatedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.