Doppler
Read secrets from a Doppler config with a service token.
Before you start
Generate a token. A Service Token (dp.st.) is read-only and bound to one project and config, so a leaked token exposes only that config.
- In Doppler, open your project and config, for example
prd. - Open the Access tab and click Generate Service Token.
- Copy the token.
Personal (dp.pt.) and CLI (dp.ct.) tokens also work, but you must then fill in Project and Config.
Connect
Open Integrations › Secret vaults › Add provider and choose Doppler.
| Field | Value |
|---|---|
| Name | Reference name, for example doppler-prd |
| Token | The Doppler token |
| Project / Config | Optional. Only for personal and CLI tokens |
Click Test connection, save, and assign projects and environments.
Use it
References carry the secret name:
DATABASE_URL=${{vault.doppler-prd.DATABASE_URL}}
STRIPE_KEY=${{vault.doppler-prd.STRIPE_KEY}}Autocomplete lists the secrets of the configured config.
Limits
A provider points at one Doppler config. Create one provider per config, for example dev and prd, and assign each to the matching wtree Cloud environments.
