samrocketman / jervis

Self service Jenkins job generation using Jenkins Job DSL plugin groovy scripts. Reads .jervis.yml and generates a job in Jenkins.
http://sam.gleske.net/jervis-api/
Apache License 2.0
267 stars 45 forks source link

Add X-Vault-Request header and support custom client headers #138

Closed samrocketman closed 4 years ago

samrocketman commented 4 years ago

The VaultService client should always include the X-Vault-Request header.

https://www.vaultproject.io/api-docs#the-x-vault-request-header

Additionally, there's several headers the VaultService client doesn't handle (and may never handle) so it makes sense to allow header customization for other headers.