zenml icon indicating copy to clipboard operation
zenml copied to clipboard

Add --password option to "zenml user update" to add/change password of user account.

Open JustGitting opened this issue 7 months ago • 6 comments

Hi,

A user already logged into the zenml server can change their own password using the command:

zenml user change-password

However, there does not appear to be a way to update/change passwords of users by an admin account, unless I’ve missed it?

The zenml user update command does not have an option to update a specified user's password.

I propose to add the “-p, —password” option to zenml user update command to allow a user's password to be changed/updated by another user with admin privileges.

Further, I’d like to see the prompt for entering the password to require the password to be entered twice for verification. As is the case for the GNU/Linux “passwd” command:

For example the new option would look like the following:

> zenml user update --password
Enter new password:
Retype new password:

PS, could the "retype" password to confirm the password be also added to the zenml user create command as it only requires it to be entered once.

Thanks!

JustGitting avatar May 08 '25 02:05 JustGitting

Hey @JustGitting, would you be interested in creating a PR that adds these features?

schustmi avatar May 08 '25 07:05 schustmi

Hi @schustmi,

Maybe, I'm getting back into python for the ML side of things, but it would be for awhile I'd say.

Is there any documentation you'd recommend in terms of ZenML development?

JustGitting avatar May 08 '25 08:05 JustGitting

@JustGitting Yes, the contributing guide should contain all the important information: https://github.com/zenml-io/zenml/blob/main/CONTRIBUTING.md

schustmi avatar May 08 '25 08:05 schustmi

Hey @JustGitting , do you have any updates on this?

bcdurak avatar Sep 18 '25 12:09 bcdurak

Hi @bcdurak,

Still on my to-do list, which never seems to get smaller :)

JustGitting avatar Sep 23 '25 05:09 JustGitting

@JustGitting no problem, let us know if we can help in any way.

bcdurak avatar Sep 23 '25 15:09 bcdurak