rgs1/zk_shell

Supporting kerberos authentication

Closed this issue · 3 comments

Hi, the tool is amazing but I couldn't found a way to do kerberos authentication. Is it supported?

rgs1 commented

@LeonGao91 it's currently not. Happy to review PRs, if you have some time to work on this.

rgs1 commented

@LeonGao91 note that Kazoo supports SASL/GSSAPI via:

https://github.com/thobbs/pure-sasl

which in turns has Kerberos as one of its available mechanisms. So all we'd need to do is pass
in a sasl_options dict:

https://github.com/python-zk/kazoo/blob/master/kazoo/client.py#L126

when creating a KazooClient (an XClient actually, zk-shell's extended class of KazooClient).
That happens mostly in https://github.com/rgs1/zk_shell/blob/master/zk_shell/shell.py.

rgs1 commented

Closing since there's no activity going on, I won't be working on this for now.