webkubectl icon indicating copy to clipboard operation
webkubectl copied to clipboard

Support for multiple username and password for login

Open jainpratik163 opened this issue 3 years ago • 2 comments

is there any way we can define multiple usernames and passwords for diff people as I can see with basic authentication we can only provide one username and password.

or can we get integration with LDAP. can we have such a feature?

jainpratik163 avatar Aug 23 '22 06:08 jainpratik163

I think adding a new environment variable GOTTY_CREDENTIAL_FILE that specifies a password file which contains multiple usernames and passwords in lines will be ok.

Integration with LDAP is a little bit complex for now...

liqiang-fit2cloud avatar Aug 23 '22 06:08 liqiang-fit2cloud

Hi, v2.11.0 has just been released to support multi username and password. Usage: docker run --name="webkubectl" -p 8080:8080 -v /tmp/webkubectl.passwd:/opt/webkubectl.passwd -e GOTTY_CREDENTIAL_FILE=/opt/webkubectl.passwd -d --privileged kubeoperator/webkubectl image You can have a try.

liqiang-fit2cloud avatar Aug 23 '22 09:08 liqiang-fit2cloud