Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Set the value to true to enable SASL authentication.

Environment variable: QUARKUS_ZOOKEEPER_CLIENT_AUTH_SASL_ENABLED

boolean

false

Specifies the context key in the JAAS login file.

Environment variable: QUARKUS_ZOOKEEPER_CLIENT_AUTH_CLIENTCONFIG

string

Client

SALS client configuration string, e.g. org.apache.zookeeper.server.auth.DigestLoginModule required username="test" password="passwd";

Environment variable: QUARKUS_ZOOKEEPER_CLIENT_AUTH_SASL_CONFIG_STRING

string

Specifies the server principal to be used by the client for authentication, while connecting to the zookeeper server, when Kerberos authentication is enabled. If this configuration is provided, then the ZooKeeper client will NOT USE any of the following parameters to determine the server principal: zookeeper.sasl.client.username, zookeeper.sasl.client.canonicalize.hostname, zookeeper.server.realm.

Environment variable: QUARKUS_ZOOKEEPER_CLIENT_AUTH_SERVER_PRINCIPAL

string

Traditionally, a principal is divided into three parts: the primary, the instance, and the realm. The format of a typical Kerberos V5 principal is primary/instance@REALM. zookeeper.sasl.client.username specifies the primary part of the server principal.

Environment variable: QUARKUS_ZOOKEEPER_CLIENT_AUTH_CLIENT_USERNAME

string

zookeeper

Expecting the zookeeper.server.principal parameter is not provided, the ZooKeeper client will try to determine the 'instance' (host) part of the ZooKeeper server principal. First it takes the hostname provided as the ZooKeeper server connection string. Then it tries to 'canonicalize' the address by getting the fully qualified domain name belonging to the address. You can disable this 'canonicalization' by setting: zookeeper.sasl.client.canonicalize.hostname=false.

Environment variable: QUARKUS_ZOOKEEPER_CLIENT_AUTH_CLIENT_CANONICALIZE_HOSTNAME

boolean

true

Realm part of the server principal. By default it is the client principal realm.

Environment variable: QUARKUS_ZOOKEEPER_CLIENT_AUTH_SERVER_REALM

string