Skip to main content

Doppler Sync

Pull secrets from a Doppler config directly into your local .env file using Doppler's REST API.

What is Doppler?​

Doppler is a secrets manager that stores environment variables centrally and syncs them across your team and CI/CD pipeline. ENV Manager Pro can pull a Doppler config's secrets into your local dev environment with one command.

Setup​

1. Create a Doppler Service Token​

  1. Go to your Doppler dashboard
  2. Navigate to your project → config → Access
  3. Create a Service Token with read access
  4. Copy the token

2. Configure in VS Code​

Run ENV Manager Pro: Pull from Doppler from the Command Palette. You'll be prompted for:

  • Doppler Service Token — stored securely in the OS keychain

The token is reused on every subsequent pull.

Pulling Secrets​

When you run the pull command, the extension calls:

GET https://api.doppler.com/v3/configs/config/secrets/download?format=env
Authorization: Bearer <service-token>

The response is a standard .env-formatted string which is parsed and merged into your active .env file.

What Gets Merged​

New keys from Doppler are added to your local file. Keys that already exist locally are not overwritten by default — you'll see a prompt asking whether to overwrite conflicts.

Security​

The service token only has read access to the specific Doppler config it was created for. It is stored in VS Code SecretStorage and never written to any project file.