red-hat-storage / errata-tool

Modern Python API to Red Hat's Errata Tool
MIT License
31 stars 35 forks source link

Add support for keytab #246

Open apodhrad opened 1 year ago

apodhrad commented 1 year ago

Could you add a support where the kerberos is handled with a keytab, please?

ktdreyer commented 1 year ago

There are a couple of ways to do this outside of this library, or even Python itself.

See https://github.com/ktdreyer/koji-ansible/issues/150 - As documented at https://web.mit.edu/kerberos/krb5-latest/doc/basic/keytab_def.html#default-client-keytab , MIT Kerberos first checks a KRB5_CLIENT_KTNAME environment variable, and then the default_client_keytab_name setting in /etc/krb5.conf.