Answers for "jenkins decrypt secretbytes script"

2

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"))
Posted by: Guest on March-01-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language