Skip to main content
POST
/
secrets
/
{secret_id}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

secret_id
string
required

Query Parameters

workspace_id
string<uuid>
required

Body

application/json

Update a secret.

Secret types

  • custom: Arbitrary user-defined types
  • token: A token, e.g. API Key, JWT Token (TBC)
  • oauth2: OAuth2 Client Credentials (TBC)
type
enum<string> | null

The type of a secret.

Available options:
custom,
ssh-key
name
string | null
Required string length: 1 - 100
description
string | null
Maximum string length: 1000
keys
SecretKeyValue · object[] | null
Required array length: 1 - 100 elements
tags
Tags · object
environment
string | null
Required string length: 1 - 100

Response

Successful Response