Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jenkins decrypt password script console

for standard secrets:
println(hudson.util.Secret.decrypt("{XXX=}"))

for SecretBytes:
println(new String(com.cloudbees.plugins.credentials.SecretBytes.fromString("{....}").getPlainData(), "ASCII"))
Source by devops.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #jenkins #decrypt #password #script #console
ADD COMMENT
Topic
Name
9+2 =