Platform secret stores (Doppler, AWS SSM, GCP Secret Manager, Wrangler secrets) beat committed .env files. Pick the one closest to your host to reduce moving parts.
Checklist
- Never commit production secrets
- Separate staging and prod paths
- Audit who can read bot tokens
- Rotate on a calendar using your runbook
Related
Frequently asked questions
Is this exhaustive?
No. It is a practical starting point; verify details in official docs before production.