Authorizations

Authorization
string
headerrequired

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
string
required

Name of the new or existing secret

value
string
required

Value of the secret

Response

200 - application/json

A Baseten secret. Note that we do not support retrieving secret values.

created_at
string
required

Time the secret was created in ISO 8601 format

name
string
required

Name of the secret