I'm running a distributed MinIO Cluster with 4 nodes with multiple user accounts for different purposes/buckets. I need to write a convenience script or simple web app for users where they can change their passwords.
How can I change a password for an existing user?
According to this closed Issue on GitHub there is no other way than calling the
mc
tool directly. Managing user accounts with the help of the MinIO SDK is not available at the moment but may be implemented in the future.At the moment the only possibility to change the SECRET_KEY of a user is to create a new user via
mc admin user add
. Next Monday I will test whether calling the command again means that groups / policies are no longer assigned to the corresponding user.