Create

Create a new secret. The secret value is immutable after creation.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
namestringRequired
descriptionstringRequired
decryptedValuestringRequired
propertiesmap from strings to stringsRequired
labelsset of stringsRequired
workspacestringOptional

The workspace in which to create the secret. If not provided, the secret will be created in the default workspace for the user’s organization, if the default workspace for the organization is configured.

Response

This endpoint returns an object.
ridstring
namestring
descriptionstring
createdBystring
propertiesmap from strings to strings
labelsset of strings
createdAtdatetime
isArchivedboolean