If your config.json
contains "credsStore": "desktop"
and you are on a Mac then your credentials are stored in the Mac Keychain app.
Open the app and look for a password called "Docker Credentials", it contains the address and the password for the registry.