Retrieve private registry password from database

Hello.

I have a Rancher server v1.6.10 with 2 private registries added. 1st dockerhub & 2nd on gitlab. I have only usernames.

I need to build another Rancher server & clone environments from the first one. I’ve exported the docker & rancher yaml files, but I don’t have the passwords for those registries so the server is unable to pull the images :frowning:

Is there any way to retrieve them plaintext? Perhaps from mysql database or smth like that?

Thanks!

The mysql table “credential” was the one I was looking for!