Can't create secure connection using connection URL #275

Closed
bryanburgers opened this Issue Feb 20, 2013 · 3 comments

Comments

2 participants
@bryanburgers
Contributor

bryanburgers commented Feb 20, 2013

It's not possible to specify using a secure connection when connecting with a postgres://user:password@host/database URL.

It doesn't look like JDBC allows for this. SQL Alchemy specifies optional parameters that might be useful.

Could we utilize something like postgres://user:pass@host/database?secure=true?

This matters because I have an application that passes the URL on the command line, and having the secure connection in the URL makes more sense than adding a --secure switch.

@brianc

This comment has been minimized.

Show comment Hide comment
@brianc

brianc Feb 20, 2013

Owner

ideally yeah the connection string should take those parameters. Also, they PG* environment variables should be used

Owner

brianc commented Feb 20, 2013

ideally yeah the connection string should take those parameters. Also, they PG* environment variables should be used

@bryanburgers

This comment has been minimized.

Show comment Hide comment
@bryanburgers

bryanburgers Feb 21, 2013

Contributor

I tried to link my pull request, but apparently including the issue number didn't do the trick. #276

Contributor

bryanburgers commented Feb 21, 2013

I tried to link my pull request, but apparently including the issue number didn't do the trick. #276

brianc added a commit that referenced this issue Jun 30, 2013

Merge pull request #276 from bryanburgers/connection-url-ssl
Add ssl query string to the connection string parser #275
@brianc

This comment has been minimized.

Show comment Hide comment
@brianc

brianc Jun 30, 2013

Owner

Should be closed with the merged pull. Thanks to @bryanburgers for the work. 😄

Owner

brianc commented Jun 30, 2013

Should be closed with the merged pull. Thanks to @bryanburgers for the work. 😄

@brianc brianc closed this Jun 30, 2013

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