Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple username and password for login #27

Open
jainpratik163 opened this issue Aug 23, 2022 · 2 comments
Open

Support for multiple username and password for login #27

jainpratik163 opened this issue Aug 23, 2022 · 2 comments
Labels
enhancement New feature or request resolved resolved

Comments

@jainpratik163
Copy link

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?

@liqiang-fit2cloud
Copy link
Collaborator

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
Copy link
Collaborator

liqiang-fit2cloud commented Aug 23, 2022

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.

@fit2cloudrd fit2cloudrd added enhancement New feature or request resolved resolved labels Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resolved resolved
Projects
None yet
Development

No branches or pull requests

3 participants