Pass SSL certificates contents as string instead of path #1583
Replies: 1 comment 1 reply
-
Psycopg connection string passes the arguments to the libpq. The supported parameters are documented here. If SQLAlchemy does its own manipulation is something you have to ask the SQAlchemy project. I assume there is a way to pass-through. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm working on a project that involves connecting to Postgres using SSL certificates. I'm using SQLAlchemy and psycopg2 to connect like so:
I'm now wondering if there's a valid way to pass the contents of the SSL certificates as a string to connect. I tried this below, but SQLAlchemy throws an error that it's not a valid path.
Any thoughts or ideas would be appreciated, thank you
Beta Was this translation helpful? Give feedback.
All reactions