Hi Paul, I don't think this is possible with the Hashicorp Vault plugin. However I recently came across that blog post that could be useful to you http://nicolas.corrarello.com/general/vault/security/ci/2017/04/23/Reading-Vault-Secrets-in-your-Jenkins-pipeline.html. I believe you could use a (Custom) tool installer to have the vault cli available to your builds, and then use standard credentials / credentials binding to pass it to your Vault commands.
I hope this helps. On Wednesday, June 14, 2017 at 5:14:40 AM UTC+10, Paul Wolstenholme wrote: > > Is there a method using the hashicorp-vault-plugin to write values to the > vault or generate a token. Or, are people using a credential bindings > plugins to retrieve vault approle or token and use the vault api or cli. > > Cheers, > apul > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/24a7e0e9-1b02-4948-bfab-5ebe241fac0b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
