Use hashicorp-vault-plugin write to vault

119 views
Skip to first unread message

Paul Wolstenholme

unread,
Jun 13, 2017, 3:14:40 PM6/13/17
to Jenkins Users
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

Allan Burdajewicz

unread,
Sep 26, 2017, 10:35:10 PM9/26/17
to Jenkins Users
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.
Reply all
Reply to author
Forward
0 new messages