I recently worked on a Project that required migrating Jenkins credentials to another credentials store, going to each credential and viewing and subsequently decrypting the credential turned into a real chore and I needed a way to do this all in one go.
Luckily we can access credentialsStore using Jenkins script console, so:
In Jenkins, go to: /script page.
Run the following command: