Checklist before production
What to check before real people sign in.
- Row-level security is on for every exposed table, and you tested it with two different users.
- Secret keys live only in servers’ environments or a secrets manager; none in app code, none in a chat.
- Your own e-mail provider sends from your domain, with SPF, DKIM and DMARC set.
- Redirect URLs are exact addresses, or patterns as narrow as you can make them.
- E-mail confirmation is on.
- CAPTCHA is on if anyone on the internet can sign up.
- The session policy is the one you want (how long, inactivity, one session or many).
- Machine clients use key pairs and require DPoP; PATs have an expiry when they can.
- Engine The master key (or access to the KMS key) is backed up apart from the database.
- Engine The database is reached with TLS (
verify-full), and its backups were restored once to prove they work. - Engine Alarms on errors, throttles and database connections are on.
- Someone reads the audit log after launch.