Extract passphrase from Jenkins' credentials.xml

前端 未结 5 1020
一整个雨季
一整个雨季 2021-01-30 01:36

I have added an SSH credential to Jenkins.

Unfortunately, I have forgotten the SSH passphrase and would now like to obtain it from Jenkins\' credential archive, which is

5条回答
  •  南方客
    南方客 (楼主)
    2021-01-30 02:16

    If you are using the Jenkins Credential Binding Plugin, you can get it to write your password to a file. You can't just output to the console, as the plugin will ***** it out.

提交回复
热议问题