← Back to CLIs
Melvynx

doppler

Manage secrets and environment variables via Doppler CLI - secrets, projects, configs, environments. Use when user mentions 'doppler', 'secrets management', 'env variables', or wants to manage secrets with Doppler.

Install

$ npx api2cli install doppler

Details

Skill type: Official CLI
Auth type: bearer
Version: 1.0.0
Author: Melvynx
Views: 0

README

doppler

Setup

macOS:

brew install dopplerhq/cli/doppler

Or install from https://docs.doppler.com/docs/install-cli for other platforms.

Verify installation:

doppler --version

Always use --json flag when calling commands programmatically.

Authentication

doppler login

Resources

Setup

CommandDescription
doppler setupConfigure Doppler for current directory
doppler setup --project <name> --config <config>Configure with specific project and config

Secrets

CommandDescription
doppler secretsList all secrets in current config
doppler secrets get KEYGet a specific secret value
doppler secrets get KEY --plainGet plain text value (no formatting)
doppler secrets set KEY=valueSet a secret
doppler secrets set KEY1=val1 KEY2=val2Set multiple secrets
doppler secrets delete KEYDelete a secret
doppler secrets download --no-file --format envDownload secrets as .env format
doppler secrets download --no-file --format jsonDownload secrets as JSON

Run

CommandDescription
doppler run -- <command>Run a command with secrets injected as env vars
doppler run -- npm startRun npm start with secrets injected
doppler run --command "echo \$KEY"Run shell command with secrets

Projects

CommandDescription
doppler projectsList all projects
doppler projects create <name>Create a new project
doppler projects delete <name>Delete a project
doppler projects get <name>Get project details

Configs

CommandDescription
doppler configsList all configs in current project
doppler configs create --name <name> --environment <env>Create a new config
doppler configs delete --config <name> --yesDelete a config
doppler configs clone --config <source> --name <target>Clone a config

Environments

CommandDescription
doppler environmentsList all environments
doppler environments create --name <name> --slug <slug>Create an environment
doppler environments delete <slug>Delete an environment

Activity

CommandDescription
doppler activityView recent activity log
doppler activity --number 20View last 20 activity entries

Global Flags

FlagDescription
--jsonOutput result as JSON
--project <name>Specify project
--config <name>Specify config
--token <token>Use service token for auth
--no-colorDisable colored output
Sponsors