Migrate credentials

63 views
Skip to first unread message

Fadi Al-Farah

unread,
Jul 19, 2016, 2:00:24 PM7/19/16
to Jenkins Users
Hello,

How do I successfully migrate credentials from one box to another? Because, the credentials in ${JENKINS_HOME}/credentials.xml are hashed.

Please help, as it's really becoming a tedious job to re-enter all the credentials after migrating.

Fadi
Message has been deleted

Stephen Connolly

unread,
Jul 19, 2016, 2:02:21 PM7/19/16
to jenkins...@googlegroups.com
I would have migrated the encryption keys that way the encrypted values would be the same
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e15aa263-2d7e-44f2-bfb3-ef1ca89df4d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Sent from my phone

Fadi Al-Farah

unread,
Jul 19, 2016, 2:08:20 PM7/19/16
to Jenkins Users
More information: All of jenkins home is in a seperate volume which I'm detaching and attaching onto a new VM.. (I've seen this link before also).. But it still doesn't work..

Fadi Al-Farah

unread,
Jul 19, 2016, 2:50:47 PM7/19/16
to Jenkins Users
Right, but where are those keys stored at? ${JENKINS_HOME} is on a seperate volume which I literally detach and re-attach on the new VM.. So those keys have to be outside the ${JENKINS_HOME}, but where?


On Tuesday, July 19, 2016 at 2:02:21 PM UTC-4, Stephen Connolly wrote:
I would have migrated the encryption keys that way the encrypted values would be the same

On Tuesday 19 July 2016, Fadi Al-Farah <fara...@gmail.com> wrote:
Hello,

How do I successfully migrate credentials from one box to another? Because, the credentials in ${JENKINS_HOME}/credentials.xml are hashed.

Please help, as it's really becoming a tedious job to re-enter all the credentials after migrating.

Fadi

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.

Stephen Connolly

unread,
Jul 19, 2016, 4:35:27 PM7/19/16
to jenkins...@googlegroups.com
JENKINS_HOME/secrets

Specifically you will want JENKINS_HOME/secrets/master.key and JENKINS_HOME/secrets/hudson.util.Secret 

On 19 July 2016 at 19:50, Fadi Al-Farah <fara...@gmail.com> wrote:
Right, but where are those keys stored at? ${JENKINS_HOME} is on a seperate volume which I literally detach and re-attach on the new VM.. So those keys have to be outside the ${JENKINS_HOME}, but where?

On Tuesday, July 19, 2016 at 2:02:21 PM UTC-4, Stephen Connolly wrote:
I would have migrated the encryption keys that way the encrypted values would be the same

On Tuesday 19 July 2016, Fadi Al-Farah <fara...@gmail.com> wrote:
Hello,

How do I successfully migrate credentials from one box to another? Because, the credentials in ${JENKINS_HOME}/credentials.xml are hashed.

Please help, as it's really becoming a tedious job to re-enter all the credentials after migrating.

Fadi

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.


--
Sent from my phone

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2b247c96-9240-4a64-9feb-3a5008420e84%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages