askill
doppler-workflows

doppler-workflowsSafety 70Repository

Manage credentials and secrets through Doppler for publishing and deployment workflows. Use whenever the user needs to publish Python packages to PyPI, rotate AWS credentials, manage Doppler secrets, or configure credential pipelines for CI/CD. Do NOT use for 1Password vault operations or for secrets that are not managed through Doppler.

19 stars
1.2k downloads
Updated 3/15/2026

Package Files

Loading files...
SKILL.md

Doppler Credential Workflows

When to Use This Skill

Use this skill when:

  • Publishing Python packages to PyPI
  • Rotating AWS access keys
  • Managing credentials across multiple services
  • Troubleshooting authentication failures (403, InvalidClientTokenId)
  • Setting up Doppler credential injection patterns
  • Multi-token/multi-account strategies

Quick Reference

Core Pattern: Doppler CLI

Standard Usage:

doppler run --project <project> --config <config> --command='<command>'

Why --command flag:

  • Official Doppler pattern (auto-detects shell)
  • Ensures variables expand AFTER Doppler injects them
  • Without it: shell expands $VAR before Doppler runs → empty string

Quick Start Examples

PyPI Publishing

doppler run --project claude-config --config dev \
  --command='uv publish --token "$PYPI_TOKEN"'

AWS Operations

doppler run --project aws-credentials --config dev \
  --command='aws s3 ls --region $AWS_DEFAULT_REGION'

Best Practices

  1. Always use --command flag for credential injection
  2. Use project-scoped tokens (PyPI) for better security
  3. Rotate credentials regularly (90 days recommended)
  4. Document with Doppler notes: doppler secrets notes set <SECRET> "<note>"
  5. Use stdin for storing secrets: echo -n 'secret' | doppler secrets set
  6. Test injection before using: echo ${#VAR} to verify length
  7. Multi-token naming: SERVICE_TOKEN_{ABBREV} for clarity

Reference Documentation

For detailed information, see:

Bundled Specifications:

  • PYPI_REFERENCE.yaml - Complete PyPI spec
  • AWS_SPECIFICATION.yaml - AWS credential architecture

Using mise [env] for Local Development (Recommended)

For local development, mise [env] provides a simpler alternative to doppler run:

# .mise.toml
[env]
# Fetch from Doppler with caching for performance
PYPI_TOKEN = "{{ cache(key='pypi_token', duration='1h', run='doppler secrets get PYPI_TOKEN --project claude-config --config prd --plain') }}"

# For GitHub multi-account setups
GH_TOKEN = "{{ read_file(path=env.HOME ~ '/.claude/.secrets/gh-token-accountname') | trim }}"

When to use mise [env]:

  • Per-directory credential configuration
  • Multi-account GitHub setups
  • Credentials that persist across commands (not session-scoped)

When to use doppler run:

  • CI/CD pipelines
  • Single-command credential scope
  • When you want credentials auto-cleared after command

See mise-configuration skill for complete patterns.


PyPI Publishing Policy

For PyPI publishing, see pypi-doppler skill for LOCAL-ONLY workspace policy.

Do NOT configure PyPI publishing in GitHub Actions or CI/CD pipelines.


Troubleshooting

IssueCauseSolution
403 on PyPI publishToken expired or wrong scopeRegenerate project-scoped token, update in Doppler
InvalidClientTokenId (AWS)Access key rotated or deletedRun AWS key rotation workflow, update Doppler
Variable expands emptyUsing $VAR without --commandAlways use --command='...$VAR...' pattern
Doppler CLI not foundNot installedbrew install dopplerhq/cli/doppler
Wrong config selectedAmbiguous project/configSpecify both --project and --config explicitly
mise [env] not loadingNot in directory with .mise.tomlcd to project directory or check mise.toml path
Secret retrieval slowNo caching configuredUse mise cache() with duration for repeated access
Token length mismatchCopied with extra whitespaceTrim token: echo -n 'secret' | doppler secrets set

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

78/100Analyzed 3/15/2026

Well-structured skill covering Doppler credential management for CI/CD and publishing workflows. Includes clear use cases, practical command examples, best practices, and troubleshooting. Has tags for discoverability and references detailed docs. Slight deduction for empty Quick Reference section. Generally high quality and reusable.

70
82
80
72
80

Metadata

Licenseunknown
Version-
Updated3/15/2026
Publisherterrylica

Tags

ci-cdgithubgithub-actionsllmsecuritytesting