Skip to main content
POST
Creates a new Secret to securely store a sensitive value.

Body

string
required
The secret value to store (e.g., an API key or token). This value will be encrypted and cannot be retrieved after creation.
object
Additional data to store with the Secret.

Returns

Returns the newly created Secret object. Note that the value field is not returned in the response.