Upsert a Secret

Insert or Update a Secret by name for environment or space

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-Disable-Hooks"true"Required

Request

This endpoint expects an object.
namestringRequired
The reference name for a secret.
valuestringRequired
The secret value. This is hidden in the UI.
environmentIdstringOptional
The Environment of the secret.
spaceIdstringOptional
The Space of the secret.
actorIdstringOptional
The Actor of the secret.

Response

This endpoint returns an object.
datalist of objects

Errors