Hi,

I recently installed the Hashicorp Vault (pipeline) plugin at my Jenkins 
2.150.2 instance.
In general the plugin is working - but I´m missing the option to use

...
withCredentials([[$class: 'VaultTokenCredentialBinding', credentialsId: 
'vault-token', vaultAddr: 'https://myvault.domain:8200']]) {
            // values will be masked
            sh 'echo TOKEN=$VAULT_TOKEN'
            sh 'echo ADDR=$VAULT_ADDR'
}
...



I´m getting


java.lang.UnsupportedOperationException: no known implementation of class 
org.jenkinsci.plugins.credentialsbinding.MultiBinding is named 
VaultTokenCredentialBinding



When trying to generate the code snippet with the "Pipeline syntax" Help, 
I´m missing the Vault credential providers (for a vault token for example) 
at all.
It´s also missing when I try to use it in a freestyle job.

What am I missing ?

At https://myhost.mycompany.net/jenkinsci/configureCredentials/ I´ve 
enabled all providers.

Thanx for any hint.

Torsten

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/45ac8866-eef9-4113-b042-53890282fa51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to