Doppler

Home » Tutorials » Doppler

What is Doppler?

Doppler is a secret management platform that helps developers securely store, manage, and sync environment variables and sensitive credentials across applications, teams, and environments. It simplifies secret management by providing a centralised, encrypted, and version-controlled solution, eliminating the risks of hardcoded secrets and manual configuration.

Doppler integrates seamlessly with cloud platforms, CI/CD pipelines, and Kubernetes, ensuring that applications always have access to the latest secrets without requiring manual updates.

Prerequsites

  • Virtual Machine running Ubuntu 22.04 or newer

Update Package Repository and Upgrade Packages

sudo apt update
sudo apt upgrade

Add Doppler repository to your system

sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl gnupg
curl -sLf --retry 3 --tlsv1.2 --proto "=https" 'https://packages.doppler.com/public/cli/gpg.DE2A7741A397C129.key' | sudo gpg --dearmor -o /usr/share/keyrings/doppler-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/doppler-archive-keyring.gpg] https://packages.doppler.com/public/cli/deb/debian any-version main" | sudo tee /etc/apt/sources.list.d/doppler-cli.list

Install Doppler

sudo apt-get update && sudo apt-get install doppler
doppler --version

Login and Set up Doppler

doppler login

change to project directory before running next command

doppler setup

Install the Doppler Kubernetes Operator

helm repo add doppler https://helm.doppler.com
helm repo update
helm install doppler-operator doppler/doppler-kubernetes-operator \
  --namespace doppler-operator-system \
  --create-namespace

Create Token

doppler configs tokens create yelp-token --plain

Sample Use

Run this in project root folder

doppler setup --project yelp-camp --config dev
doppler secrets get DB_URL

Home » Tutorials » Doppler