Allow principal and keytab in cli config
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
1593e03ec1
commit
253161f229
2 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue