Skip to main content
POST
Error

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workspace_id
string<uuid>
required

Body

application/json

Create a workspace custom secret backed by an external store.

The store's provider validates remote_reference when it is saved.

name
string
required
Maximum string length: 100
Pattern: ^[a-z_][a-z0-9_]*$
store_id
string<uuid>
required
remote_reference
string
required
Required string length: 1 - 2048
key_mapping
SecretKeyMapping · object
required

Declares how a remote secret value maps onto output keys.

whole_string maps the entire remote string onto exactly one key. json maps selected top-level string fields onto declared keys.

description
string | null
Maximum string length: 255
environment
string
default:default
Required string length: 1 - 100
tags
Tags · object | null

Response

Successful Response