Skip to content

Feature request: support sslpassphrase parameter in connection string parsing #3716

Description

@smidv

Describe the solution you'd like

Parse the sslpassphrase query parameter and assign it to config.ssl.passphrase, similar to how other SSL-related parameters are handled.

Example

Given the following connection string:
postgres://user:pass@host:5432/db?sslmode=verify-full&sslrootcert=/path/to/ca.crt&sslcert=/path/to/client.crt&sslkey=/path/to/client.key&sslpassphrase=MySecretPass

I'd be happy to submit a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions