eclipse-vertx / eclipse-vertx/vertx-sql-client

PgClient: Support parsing ssl key and cert paths from connection uri

Open
#1,665 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
912
Forks
212
Avg merge
17h 30m
Merged PRs (30d)
3

Description

### Describe the feature

We are using Vert.x via the Micronaut framework where the options and client instantiation is handled by the framework based on declarative configuration. We are using a Postgres connection URI which contains all the necessary details for connecting to our Postgres instance via TLS. According to the documentation, not all connection parameters are supported: https://vertx.io/docs/vertx-pg-client/java/#_connection_uri

From the documentation it looks like this configuration could be supplied via the `PemKeyCertOptions` class but we strongly prefer externalized declarative configuration.

The following parameters are present in our connection URI:

- `sslcert`
- `sslkey`
- `sslrootcert`

Supporting these parameters would make the Vert.x client much easier to configure for certain use cases.

### Contribution

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.