Doppler CLI
secrets.doppler
Protects against destructive Doppler CLI operations like deleting secrets, configs, environments, or projects.
- 4blocking rules
- 8safe patterns
- 1Critical
- 3High
[packs]
enabled = ["secrets.doppler"]Evaluated when a command contains doppler.
Blocking rules
Each rule ID is secrets.doppler:<name>. Use it in allowlists and [policy.rules].
Criticaldoppler-projects-deletedoppler projects delete removes a project.
Explanation
Deleting a Doppler project removes all environments, configs, and secrets within it. All applications referencing this project will lose access to their secrets. This action cannot be undone. Safer alternatives: - doppler secrets download: Export all secrets first - Review active integrations and service tokens - Archive the project configuration for recovery
Highdoppler-configs-deletedoppler configs delete removes a config.
Explanation
Deleting a Doppler config removes all secret values specific to that config. Branch configs and inheriting configs may also be affected. Applications using this config will fail to start or authenticate. Safer alternatives: - doppler secrets download --config=X: Export config secrets - doppler configs list: Understand config hierarchy - Migrate secrets to a new config before deletion
Highdoppler-environments-deletedoppler environments delete removes an environment.
Explanation
Deleting a Doppler environment removes all configs within that environment. Applications targeting this environment (dev, staging, prod) will fail to retrieve secrets. Inherited configurations are also lost. Safer alternatives: - doppler secrets download: Export environment secrets - doppler configs list: Review all configs in environment - Ensure no active deployments use this environment
Highdoppler-secrets-deletedoppler secrets delete removes secrets.
Explanation
Deleting a secret removes configuration data that applications depend on. Services using 'doppler run' or synced secrets will fail when the secret is not found. Deleted secrets cannot be recovered. Safer alternatives: - doppler secrets get: Export secret value first - doppler secrets set: Update value instead of deleting - Verify which environments/configs reference the secret
Safe patterns
Checked first. A command that matches one is never blocked by this pack.
doppler-secrets-getdoppler-secrets-listdoppler-rundoppler-configuredoppler-setupdoppler-projects-listdoppler-environments-listdoppler-configs-list