Configuration options

Table 1. Optional configuration options
key type default value description

authentication-enabled

boolean

true

Enable authentication.

certificate

Path

 

Set certificate path.

connection-acquisition-timeout

Duration

PT1M

Set connection acquisition timeout.

encrypted

boolean

 

Enable encrypted field.

hostname-verification-enabled

boolean

 

Enable hostname verification.

idle-time-before-connection-test

Duration

PT1MS

Set idle time.

log-leaked-sessions

boolean

 

Enable log leaked sessions.

max-connection-lifetime

Duration

PT5H

Set max life time.

max-connection-pool-size

int

100

Set pool size.

metrics-enabled

boolean

 

Enable metrics.

password

string

 

Create password.

trust-strategy

TrustStrategy (TRUST_ALL_CERTIFICATES, TRUST_CUSTOM_CA_SIGNED_CERTIFICATES, TRUST_SYSTEM_CA_SIGNED_CERTIFICATES)

 

Set trust strategy.

Allowed values:

  • TRUST_ALL_CERTIFICATES: Trust all.

  • TRUST_CUSTOM_CA_SIGNED_CERTIFICATES: Trust custom certificates.

  • TRUST_SYSTEM_CA_SIGNED_CERTIFICATES: Trust system CA.

uri

string

 

Create uri.

username

string

 

Create username.