📜  jenkins 解密密码脚本控制台 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:32.646000             🧑  作者: Mango

代码示例1
for standard secrets:
println(hudson.util.Secret.decrypt("{XXX=}"))

for SecretBytes:
println(new String(com.cloudbees.plugins.credentials.SecretBytes.fromString("{....}").getPlainData(), "ASCII"))