Comparison

Where to store bot secrets

Production bot tokens belong in a secret manager; .env files are for local examples.

Comparison1 min readUpdated

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

Frequently asked questions

Is this exhaustive?

No. Verify details in official docs before production.

Related comparisons and tools