Skip to main content
POST
Create inference secret

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

Example:

1

Body

application/json
data
AwsIamData · object
required

Secret data.

Example:
name
string
required

Secret name.

Minimum string length: 4
Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Example:

"aws-dev"

type
string
required

Secret type. Currently only aws-iam is supported.

Pattern: ^aws-iam$
Example:

"aws-iam"

Response

200 - application/json

OK

data
AwsIamData · object
required

Secret data.

Example:
name
string
required

Secret name.

Minimum string length: 4
Example:

"aws-dev"

type
string
required

Secret type.

Example:

"aws-iam"