Merge PR#239 Allow principal and keytab in cli config

Merges #239
https://pagure.io/koji/pull-request/239
This commit is contained in:
Mike McLean 2017-01-17 14:26:55 -05:00
commit 86ff1b0abd
2 changed files with 8 additions and 0 deletions

View file

@ -19,6 +19,12 @@
;the service name of the principal being used by the hub
;krbservice = host
;the principal to auth as for automated clients
;principal = client@EXAMPLE.COM
;the keytab to auth as for automated clients
;keytab = /etc/krb5.keytab
;configuration for SSL authentication
;client certificate

View file

@ -1584,6 +1584,8 @@ def read_config(profile_name, user_config=None):
'poll_interval': 6,
'krbservice': 'host',
'krb_rdns': True,
'principal': None,
'keytab': None,
'cert': None,
'ca': '', # FIXME: remove in next major release
'serverca': None,