Skip to content

Direct TLS support#1104

Closed
ldragone wants to merge 1 commit into
porsager:masterfrom
ldragone:master
Closed

Direct TLS support#1104
ldragone wants to merge 1 commit into
porsager:masterfrom
ldragone:master

Conversation

@ldragone

Copy link
Copy Markdown

Added support for "direct TLS" introduced in Postgres 17+ (changelog).

To connect with the new mode use: ssl: 'direct'.

This connection mode is recommended for use with AWS Aurora DSQL (blog post).

@porsager

Copy link
Copy Markdown
Owner

Thanks a lot for the PR. I just pushed my own change - I wanted to do it a bit differently, and also to use the psql equivalent sslnegotiation. Now both query param, options and env vars work too.

@ldragone

Copy link
Copy Markdown
Author

It's great to hear the feature has been implemented!
When will there be a new release on npm so I can easily use it in my projects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants