v1
protected
secrets
post/v1/workspaces/{workspace}/secrets

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Path parameters

workspacestring required

Slug of the workspace the request acts in

Request body

descriptionstring nullable
namestring required

2-64 characters: lowercase letters, digits, '-' and '_', starting and ending with a letter or digit. Prefixes the platform uses for its own secrets are rejected.

valuestring required

Stored encrypted; never returned.

Response

Successful Response

created_atstring nullable
descriptionstring nullable
idstring uuid required
namestring required

Unique within the workspace.

updated_atstring nullable

Changes