v1

latestOpenAPI 3.1.02026-07-241280174.1 KB

Download

Download Secrets

get/v3/configs/config/secrets/download

Query parameters

projectstring required

Unique identifier for the project object. Not required if using a Service Token.

configstring required

Name of the config object. Not required if using a Service Token.

format'json' | 'dotnet-json' | 'env' | 'yaml' | 'docker' | 'env-no-quotes'
name_transformer'camel' | 'upper-camel' | 'lower-snake' | 'tf-var' | 'dotnet' | 'dotnet-env' | 'lower-kebab'

Transform secret names to a different case

include_dynamic_secretsboolean

Whether or not to issue leases and include dynamic secret values for the config

dynamic_secrets_ttl_secinteger

The number of seconds until dynamic leases expire. Must be used with include_dynamic_secrets. Defaults to 1800 (30 minutes).

secretsstring

Comma-delimited list of secrets to include in the download. Defaults to all secrets if left unspecified.

Response

200

STRIPEstring
ALGOLIAstring
DATABASEstring
USERstring

Example response

{
  "STRIPE": "sk_test_9YxLnoLDdvOPn2dfjBVPB",
  "ALGOLIA": "N9TOPUCTO",
  "DATABASE": "brian@aws.dynamodb.com:9876",
  "USER": "brian"
}