POST
/
secrets

Authorizations

fastapiusersauth
string
cookie
required

Query Parameters

workspace_id
string
required

Body

application/json

Create a new secret.

Secret types

  • custom: Arbitrary user-defined types
  • token: A token, e.g. API Key, JWT Token (TBC)
  • oauth2: OAuth2 Client Credentials (TBC)
keys
object[]
required
name
string
required
Required string length: 1 - 100
description
string | null
Maximum length: 1000
environment
string
default:
default
tags
object | null
type
enum<string>
default:
custom

The type of a secret.

Available options:
custom,
ssh-key

Response

201 - application/json

The response is of type any.