Management API
Upsert a secret
Creates a new secret or updates an existing secret if one with the provided name already exists. The name and creation date of the created or updated secret is returned.
Authorizations
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Body
application/json
A request to create or update a Baseten secret by name.
Name of the new or existing secret
Example:
"my_secret"
Value of the secret
Example:
"my_secret_value"
Was this page helpful?