Secret Lifecycle
Create a Secret.
Create a new Secret with a globally unique name and value. The Secret will be encrypted at rest and made available as an environment variable in Devboxes.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Parameters required to create a new Secret.
Response
200
application/json
Secret created successfully. Returns the Secret with its value included.
A Secret represents a key-value pair that can be securely stored and used in Devboxes as environment variables.