eclipse-vertx / eclipse-vertx/vertx-sql-client
PgClient: Support parsing ssl key and cert paths from connection uri
- 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
Assessment
This issue has not been assessed yet.