From the course: Learning HashiCorp Vault

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Integrating Jenkins with Vault

Integrating Jenkins with Vault - Vault Tutorial

From the course: Learning HashiCorp Vault

Start my 1-month free trial

Integrating Jenkins with Vault

- [Older Instructor] I'll use the Vault Jenkins Plug-in to demonstrate how Jenkins can be integrated with Vault to inject secrets into a software build. The Vault Jenkins Plug-in allows Jenkins to authenticate to vault and read secrets. I'll then take a moment to demonstrate response wrapping and talk about how that can be automated with a CI tool as well. The first step is to get Jenkins working, then we'll generate an approle, role ID and secret ID for Jenkins to authenticate to Vault. I've gone ahead and started the containers and initialized an unsealed vault for a refresher on how to do that, you can refer back to the video on running a vault server or on the container setup video. - [Younger Instructor] The first thing we need to do is get the initial admin password for the Jenkins server. To do that from the root of the vault start directory, execute sh space jenkins_password.sh. If you're on a Windows system, you can also execute Jenkins that's ./jenkins_password.ps1. That'll…

Contents