Doppler is the uncomplicated way to sync, manage, orchestrate, and rotate secrets across any environment or app config with easy to use tools.
# Install dependency & doppler CLI tool
brew install gnupg
brew install dopplerhq/cli/doppler
# Assert that it's working ok :)
doppler --version
doppler update
# Authenticate
doppler login
# Pick project & stage
doppler setup
Use the doppler run command to fetch variables from the cloud and inject them
as environment variables into the process, e.g.
doppler run -- yarn dev
Since we have mutliple projects, we'll want a doppler.yaml file per project,
e.g. for /apps/strapi
setup:
project: strapi
config: dev
Then when using doppler run from that directory, it'll automatically use the
strapi doppler store.
In production environments, Doppler uses Service Tokens which provide
read-only access to a specific config within the project.
doppler configs tokens create --project your-project --config your-config token-name --plain
https://docs.doppler.com/docs/enclave-service-tokens#using-service-tokens-with-the-cli
For offline use Doppler provides Secret Fallback Files.
When using the doppler run command, the CLI automatically creates a fallback file containing an encrypted snapshot of the current secrets in JSON format to Doppler's system configuration directory.
So if for whatever reason there's no network access, then Doppler will use this encrypted fallback file automatically.
You can use the --preserve-env flag in doppler run to ignore any environment
secrets that are already defined in the environment, in practice using a local
.env file this would look like:
dotenv -e .env -- doppler run --preserve-env -- yarn dev
Firstly using dotenv to load the local .env file, then using doppler to
fetch secrets from the cloud/fallback file, with the vars from the .env not
being overwritten by doppler.
Integrations > Projects, then click Vercel to begin the
authorisation process.
Authorize
Setup Integration page where you link
up the Doppler project & config to the Vercel project & stage
Set Up integration & the secrets will be synced from Doppler to
Vercel :)For any other stages, you can navigate to the Vercel integration in Doppler and
click the + Integration button to setup other projects/stages.

See https://docs.doppler.com/docs/vercel & https://vercel.com/integrations/doppler for full guides.
Integrations > Projects >
Render
Set Up integration - all done :)See https://docs.doppler.com/docs/render for full guide.
GitHub environment in Doppler, from the project page Options >
Create environmentIntegrations > Projects > GitHubjust-about)Set Up integration - all done :)DOPPLER_CONFIG,
DOPPLER_ENVIRONMENT & DOPPLER_PROJECTSee https://docs.doppler.com/docs/github-actions for full guide.