POST
/
secrets

Authorizations

fastapiusersauth
string
cookierequired

Query Parameters

workspace_id
string | null

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)
name
string
required
keys
object[]
required
type
enum<string>
default: custom

The type of a secret.

Available options:
custom,
ssh-key
description
string | null
tags
object | null
environment
string
default: default

Response

201 - application/json

The response is of type any.