Production bot tokens belong in a secret manager; .env files are for local examples.
Checklist
- Use host secret store in prod
- Keep .env.example only in git
- Separate staging and prod paths
- Rotate with a dual-write runbook
Related
Frequently asked questions
Is this exhaustive?
No. Verify details in official docs before production.