v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secrets

Create secret

post/api/v4/secrets/{secretName}

Path parameters

secretNamestring required

The name of the secret to create.

Request body

projectIdstring required

The ID of the project to create the secret in.

environmentstring required

The slug of the environment to create the secret in.

secretPathstring

The path to create the secret in.

secretValuestring required

The value of the secret to create.

secretCommentstring

Attach a comment to the secret.

tagIdsstring[]

The ID of the tags to be attached to the created secret.

skipMultilineEncodingboolean nullable

Skip multiline encoding for the secret value.

type'shared' | 'personal'

The type of the secret to create.

secretReminderRepeatDaysnumber nullable

Interval for secret rotation notifications, measured in days.

secretReminderNotestring nullable

Note to be attached in notification email.

Response

Default Response

OR