Skip to content

Support for passing in existing SSL connection to psycopg2.connect() #1421

Description

@jackwotherspoon

The Cloud SQL Python Connector would like to support database connections to Cloud SQL using psycopg2. In order to do so we require the ability to pass in an existing connection or the ability to configure the connection level SSL.

For reference, we currently support pg8000 through the use of their ssl_context argument which allows us to pass in our pre-configured ssl.SSLContext object. pg8000 ssl_context

Let me know if this is potentially feasible in a future release? Happy to provide more information or assistance if needed. Thanks!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions