API Reference

KerberosParamsConfig


class monad.config.data_source.clients.KerberosParamsConfig

Defines the Kerberos authentication during connection with Apache Hive.

from monad.config.data_source.clients import KerberosParamsConfig

KerberosParamsConfig(
  user="hive/hive.example.com",
  kinit_realm="EXAMPLE.COM",
  keytab_path="/path/to/hive.service.keytab",
  krb5_config_path="path/to/local-krb5.conf",
  kerberos_host="10.5.0.6",
  kerberos_service_name="hive",
  kerberos_fqdn="hive.example.com",
  verbose=True,
)
Parameters

user : str
Kerberos principal name.


kinit_realm: str
Kerberos realm name.


kerberos_host : str
Kerberos service host IP.


kerberos_service_name: int | None
Kerberos service name eg. 'hive'.


kerberos_fqdn: str
Fully qualified domain name.


keytab_path: str Path to the keytab file.


krb5_config_path: str
Default: "/etc/krb5.conf"
Pa th to the krb5.conf file.


password: str | None
Default: None
A password in plain text or a path to a file containing the password. Password file works only with Heimdal Kerberos client.


kerberos_renewal_interval_minutes: int
Default: 540
Interval in minutes at which to renew the Kerberos ticket.


verbose: bool
Default: False
Whether to print verbose output. Defaults to False.