doppler
БесплатноБез исполняемых скриптовНе проверенManage secrets and environment variables using the Doppler CLI. Use when the user wants to set up Doppler, inject secrets into processes, manage projects and…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Doppler
Overview
Manage application secrets and environment variables through the Doppler CLI. Covers authentication, project/config setup, secret injection into processes, secret CRUD operations, bulk import/export, service tokens for CI/CD, template-based secret substitution, and integrations with Docker and Kubernetes.
Instructions
1. Install and authenticate
# macOS
brew install dopplerhq/cli/doppler
# Windows
winget install doppler.doppler
# or: scoop bucket add doppler https://github.com/DopplerHQ/scoop-doppler.git && scoop install doppler
# Debian 11+/Ubuntu 22.04+: add Doppler's signed apt repository (keyring + signed-by),
# then `sudo apt-get install doppler` — steps at https://docs.doppler.com/docs/install-cli
Check the install with doppler --version. Update later with doppler update.
Authenticate and verify:
doppler login
doppler me
2. Set up a project directory
Link the current directory to a Doppler project and config (creates doppler.yaml):
doppler setup
doppler setup --project my-api --config dev --no-interactive
3. Inject secrets into processes
Run any command with secrets injected as environment variables:
doppler run -- npm start
doppler run -- python manage.py runserver
doppler run -- docker compose up
Override the project/config per command:
doppler run -p payments-api -c stg -- ./run-tests.sh
Run multiple chained commands:
doppler run --command="./configure && ./process-jobs; ./cleanup"
4. Read and manage secrets
List all secrets:
doppler secrets
doppler secrets --only-names
Get a single secret value:
doppler secrets get DATABASE_URL --plain
Get multiple secrets as JSON:
doppler secrets get DATABASE_URL REDIS_URL API_KEY --json
5. Set and update secrets
doppler secrets set API_KEY="sk-live-abc123def456"
doppler secrets set DB_HOST="db.prod.internal" DB_PORT="5432"
cat tls-cert.pem | doppler secrets set TLS_CERT # from file/stdin
doppler secrets set STRIPE_KEY="sk_live_51HG4xK2e" --visibility restricted # masked | unmasked | restricted
doppler secrets delete DEPRECATED_KEY --yes # --yes skips the confirmation
6. Download and upload secrets in bulk
Download in various formats:
doppler secrets download --no-file --format=json
doppler secrets download --no-file --format=env > .env
doppler secrets download --no-file --format=yaml > config.yaml
Supported formats: json, yaml, env, env-no-quotes, docker, dotnet-json.
Upload from a file:
doppler secrets upload .env
doppler secrets upload secrets.json
7. Mount secrets as ephemeral files
Mount secrets as a named pipe (most secure file-based method):
doppler run --mount .env -- npm start
doppler run --mount config.json --mount-format json -- ./app
Limit file reads for extra security:
doppler run --mount .env --mount-max-reads 1 -- php artisan config:cache
Other useful doppler run flags: --only-secrets API_KEY,DATABASE_URL (inject just those), --preserve-env (let existing environment values win; use with care), --watch (beta: restart on secret change), and --fallback ./doppler-fallback.json (encrypted copy used if the API is unreachable).
8. Use secret templates
Create a template file (e.g., config.tmpl):
db_host: {{.DB_HOST}}
db_port: {{.DB_PORT}}
{{with .LOG_FILE}}
log_file: {{.}}
{{end}}
Templates use Go text/template syntax (tojson is available for multiline or JSON values). Substitute and output:
doppler secrets substitute config.tmpl --output config.yaml
Pipe directly to kubectl:
kubectl apply -f <(doppler secrets substitute k8s-secret.yaml.tmpl)
9. Create service tokens for CI/CD
doppler configs tokens create ci-deploy -p payments-api -c prd --max-age 24h --plain
The token is read-only by default; add --access read/write only if the pipeline must write secrets. Use in CI via env var or inline flag:
export DOPPLER_TOKEN="$DOPPLER_SERVICE_TOKEN" # stored in the CI secret store
doppler run -- ./deploy.sh
doppler run --token="$DOPPLER_SERVICE_TOKEN" -- ./deploy.sh
10. Name transformers
Transform secret names for framework compatibility:
doppler run --name-transformer camel -- node app.js # API_KEY → apiKey
doppler run --name-transformer tf-var -- terraform apply # API_KEY → TF_VAR_api_key
doppler run --name-transformer lower-snake -- python app.py # API_KEY → api_key
Available transformers for doppler run: camel, upper-camel, lower-snake, tf-var, dotnet-env, lower-kebab (download also accepts dotnet).
11. Docker and Kubernetes integration
Pass secrets to Docker containers:
docker run --env-file <(doppler secrets download --no-file --format docker) my-app:latest
Create a Kubernetes secret:
kubectl create s
Установить doppler в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл doppler?
Manage secrets and environment variables using the Doppler CLI. Use when the user wants to set up Doppler, inject secrets into processes, manage projects and configs, upload or download secrets, create service tokens, use secret templates, or integrate Doppler with Docker, Kubernetes, or CI/CD pipelines. Trigger words: doppler, secrets manager, env vars, secret injection, doppler run, doppler setup, service token, secret rotation.
Как установить скилл doppler?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doppler запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub