Where's the encryption key stored in Jenkins?
<p>I am trying to migrate the credentials from one Jenkins to another but usernames/passwords are hashed in ${JENKINS_HOME}/credentials.xml</p>

<p>I found this <a href="https://stackoverflow.com/a/35603191/4557537">answer</a>, but the problem is it doesn't explain where would someone find the encryption key in order to successfully migrate credentials.</p>

<p>Any help is greatly appreciated!</p>

<p><strong>EDIT</strong>: More information.. my ${JENKINS_HOME} is on a separate volume which I detach and re-attach onto the new VM, and it still doesn't work with me.</p>