Kubernetes

Simplify secrets management for Kubernetes hosted applications using Doppler

Learn how Doppler enables you to distribute config and credentials securely to your Kubernetes applications in a variety of methods using our production-ready guides.

Kubernetes Secrets Import

Import the key-Value pairs from a Kubernetes secret to Doppler using the Kubernetes and Doppler CLI:

# Select the project and environment for importing
doppler setup

# Save to temp doppler-secrets.json
kubectl get secret app-secret-name -o json | jq -r '.data[] |= @base64d | .data' > doppler-secrets.json

# Import to Doppler
doppler secrets upload doppler-secrets.json

# Clean-up temp secrets file
rm doppler-secrets.json