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 AWS Secrets Manager.

name
string
required
Maximum string length: 100
Pattern: ^[a-z_][a-z0-9_]*$
store_id
string<uuid>
required
remote_reference
string
required
Maximum string length: 2048
Pattern: ^(?:arn:aws(?:-[a-z]+)*:secretsmanager:[a-z0-9-]+:\d{12}:secret:[^\s]+|[A-Za-z0-9/_+=.@-]{1,512})$
key_mapping
AwsSecretKeyMapping · object
required

Declares how a remote AWS secret value maps onto output keys.

whole_string maps the entire SecretString 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