-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[chectl] generate passwords for initial users #14082
Comments
Good point @sleshchenko. And that's critical. That should rather be done helm and operator side, not chectl. Otherwise we would only solve the problem partially (installing via the OperatorHub the password would not be changed for instance). As of today we may print a warning message when installing via chectl. I don't know if we can show a warning message easily on the OperatorHub side as well (cc @davidfestal) |
afaik The operator already generates random admin passwords by default (at least for Keycloak). |
@slemeur if you think this needs to be in 7.2, then it's been triaged. removing the |
The default keycloak password in helm chart is On the operator side it is autogenerated |
Creating default admin user for Che |
To force use to update its password we have to specify
|
In terms of this issue we make sure that Keycloak admin password is autogenerated. If a user uses chectl the password will be printed into terminal. |
Done |
Is your enhancement related to a problem? Please describe.
Currently, there are default users
admin
with passwordadmin
(different admins for Che and Keycloak, stored in the different realms).And after the first login to Che, a user is asked to change a default password.
And for keycloak, there is no tip that password should be updated at all.
But
chectl
even do not tells that there is such default user and password should be updated.So, there is some period when everyone is able to login as admin to Che and Keycloak on fresh installation if URLs are known.
Describe the solution you'd like
It would be safer if
chectl
generate a password for initialadmin
users to prevent logging in as admin knowing only Che and Keycloak URLs.The text was updated successfully, but these errors were encountered: