Skip to main content
POST
Error

Authorizations

fastapiusersauth
string
cookie
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)
  • mtls: TLS client certificate and key
  • ca_cert: Certificate authority bundle
name
string
required
Required string length: 1 - 100
keys
SecretKeyValue · object[]
required
Required array length: 1 - 100 elements
type
enum<string>
default:custom

The type of a secret.

Available options:
custom,
ssh_key,
mtls,
ca_cert,
github_app
description
string | null
Maximum string length: 1000
tags
Tags · object | null
environment
string
default:default

Response

Successful Response