atoti.config.authentication.kerberos_config module#

class atoti.KerberosConfig#

The configuration to connect to a Kerberos authentication provider.

The user’s roles can be defined using atoti_query.security.Security.kerberos and individual_roles.

Example

>>> auth_config = tt.KerberosConfig(
...     service_principal="HTTP/localhost",
...     keytab="config/example.keytab",
...     krb5_config="config/example.krb5",
... )
keytab: str | Path | None = None#

The path to the keytab file to use.

krb5_config: str | Path | None = None#

The path to the Kerberos config file.

Defaults to the OS-specific default location.

service_principal: str#

The principal that the Atoti application will use.