Managed Databases
v1.0.0
Review rules and best practices for popular hosted database platforms including connection pooling, backups, and scaling.
Performance(4)
Architecture(4)
Security(3)
Require TLS/SSL on all database connections
Enforce sslmode=require (or stricter, with CA verification) so no client can connect to the managed database over plaintext.
Grant least-privilege roles; never let apps use superuser
Create scoped application roles with only the privileges they need; reserve superuser/owner accounts for migrations and admin.
Rotate database credentials regularly and never share them
Issue per-service credentials from a secrets manager, rotate them on a schedule, and keep them out of source control.
Automate Managed Databases checks on every PR
BeforeMerge scans your pull requests against all 11 Managed Databases rules automatically. Get actionable feedback before code ships.