Hi,

We plan to use JDBC SQL connector to read/write database. I saw JDBC
connector use username and password. Is it possible to use secret(*.crt) to
access database. I didn't find guideline how to use it. How to config jdbc
with secret?

val jdbc: JdbcConnectionOptions =
JdbcConnectionOptions.JdbcConnectionOptionsBuilder()
    .withUrl(url)
    .withDriverName("org.postgresql.Driver")
    .withUsername(userName)
    .withPassword(password)
    .build()

Thanks,
Qihua

Reply via email to