Skip to content

PostgresSslOptions

PostgresSslOptions = boolean | { ca?: string; cert?: string; key?: string; }

Defined in: packages/db-postgres/src/index.ts:16

TLS options for Postgres connections. When true, the driver negotiates TLS with the server’s default CA. When an object, ca/cert/key are forwarded to postgres.js for mutual TLS (e.g. GCP Cloud SQL) or custom RDS bundles.