Create Secret

View as Markdown
Create a new secret.

Path parameters

workspacestringRequired

Request

This endpoint expects an object.
namestringRequired

The name of the secret to create. Allowed characters: letters (a-z, A-Z), digits (0-9), underscores, hyphens, and dots.

valuestringRequiredformat: "password"
The payload of the secret
descriptionstringOptional
An optional description of the secret

Response

Successful Response
namestring
The name of the secret
workspacestring
The workspace ID the secret belongs to
descriptionstring
An optional description of the secret
created_atdatetime
updated_atdatetime

Errors

422
Unprocessable Entity Error