v1

latestOpenAPI 3.1.02026-07-241280174.1 KB

List

Secrets

get/v3/configs/config/secrets

Query parameters

projectstring required

Unique identifier for the project object.

configstring required

Name of the config object.

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

A comma-separated list of secrets to include in the response

include_managed_secretsboolean

Whether to include Doppler's auto-generated (managed) secrets

Headers

acceptsstring

Available options are: application/json, text/plain

Response

200

Example response

{
  "secrets": {
    "STRIPE": {
      "raw": "sk_test_9YxLnoLDdvOPn2dfjBVPB",
      "computed": "sk_test_9YxLnoLDdvOPn2dfjBVPB",
      "rawVisibility": "masked",
      "computedVisibility": "masked"
    },
    "ALGOLIA": {
      "raw": "N9TOPUCTO",
      "computed": "N9TOPUCTO",
      "rawVisibility": "masked",
      "computedVisibility": "masked"
    },
    "DATABASE": {
      "raw": "${USER}@aws.dynamodb.com:9876",
      "computed": "brian@aws.dynamodb.com:9876",
      "rawVisibility": "restricted",
      "computedVisibility": "restricted"
    },
    "USER": {
      "raw": "brian",
      "computed": "brian",
      "rawVisibility": "unmasked",
      "computedVisibility": "unmasked"
    }
  }
}