Clone RBAC users between two clusters

I would like to clone the RBAC users from one cluster to another. From the documentation of the Security API I found a way to list all RBAC users on the source cluster and create similar users on the new cluster. Only thing I could not figure out is how to keep the passwords for the users. Since I do not now the passwords of the users I can not specify them using the -d password= parameter. Is there any way to either get the password hashes from the source cluster and use these for the cloned users, or clone the complete user accounts to a new cluster?

1 Like

I have a similar need. We have several databases and we want to give user’s access to more than one, but all using the same credentials.