Skip to main content

Download configuration secrets as a file

get/v1/secrets/configs/config/secrets/download

If the configuration has restricted secrets, only a service token can download it; otherwise, the response is 403. Also accepts a configuration service token with any access: Authorization: Bearer <token>. The configuration's trusted networks apply; reading updates last_fetch_at.

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Query Parameters

  • project stringrequired

    Project alias

  • config stringrequired

    Configuration alias: <environment> is the root configuration, <environment>/<name> is a branch or a personal configuration (<environment>/personal), for example dev/local

  • format string

    Response format

Response