-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Display tokens/credentials for basic authentication? #140
Comments
When the server starts is always outputs a kubeconfig at users:
- name: default
user:
password: a36b883d48d0298713d009a2e9261378
username: admin We do purposely avoid printing any credentials in the logs or output because most people consider that a security issue. But in general the idea is you clients should just use the kubeconfig that is generated. And also the credential is random only on the first start. After that it won't change it. |
@ibuildthecloud Thanks for the notice! I forgot to look into the kubeconfig. Mea culpa! Closing this issue. |
Is your feature request related to a problem? Please describe.
K3s created a
passwd
file byThe passwords are just randomly generated see code
and never displayed, no one can connect to the API using basic auth even if it's already set
Describe the solution you'd like
Display the passwords in setup logs
Describe alternatives you've considered
Let user input the password, if not, generate one.
The text was updated successfully, but these errors were encountered: