How to Integrate HashiCorp Vault With Jenkins

Ғылым және технология

Need help with your Jenkins questions?
Visit community.jenkins.io/c/using-...
Timecodes ⏱:
00:00 Introduction
00:09 Overview
00:35 Starting point
01:14 Install HashiCorp Vault plugin
02:44 Configure the Vault server
10:04 Configure Vault Plugin in Jenkins
13:07 Create vagrant secret in Vault
16:32 Create a Vault Username-Password Credential in Jenkins
21:21 Connect the agent to the controller
22:25 Create a secret text secret in Vault
25:08 Create a Vault Secret Text Credential in Jenkins
26:38 Create a pipeline using the Vault Secret Text Credential
29:16 So why would you use HashiCorp Vault instead of the native Jenkins credential types?
#jenkinstutorial #jenkinspipeline #HashiCorpVault
Information referenced in this video:
Gist with commands and more documentation:
gist.github.com/darinpope/4e4...
Jenkins LTS 2.289.2
www.jenkins.io/changelog-stab...
HashiCorp Vault plugin
plugins.jenkins.io/hashicorp-...
CloudBees on Twitter:
/ cloudbees
Darin on Twitter:
/ darinpope

Пікірлер: 18

  • @simonshkilevich3032
    @simonshkilevich3032 Жыл бұрын

    I binge watch your videos on weekends instead of netflix

  • @VictorYami
    @VictorYami2 жыл бұрын

    Your tutorials are amazing!

  • @nnutipa
    @nnutipa3 жыл бұрын

    Good hands-on tutorial. Thanks a lot!

  • @larhard
    @larhard2 жыл бұрын

    Supreme quality tutorial. Thank you.

  • @looks-good
    @looks-good3 жыл бұрын

    You're my heroes!) I'm struggling with this right now.

  • @kedarmadiwale8714
    @kedarmadiwale87142 жыл бұрын

    Fantastic video....great job, thank you so much!!!

  • @SV-tc8cu
    @SV-tc8cu2 жыл бұрын

    Excellent video!

  • @juanpabloamorochod.752
    @juanpabloamorochod.7523 жыл бұрын

    effing awesome Darin!

  • @ravikumar568
    @ravikumar5682 жыл бұрын

    Good one. Thank you

  • @manavuru7847
    @manavuru78472 жыл бұрын

    good one Thank you

  • @MrRohitgagan
    @MrRohitgagan2 жыл бұрын

    Thanks!! I am having issues in connecting jenkins to hashicorp. How to expose the ip of hashicorp which listens to jenkins while Configuring the plug-in

  • @elsenyor
    @elsenyor Жыл бұрын

    great video... but I wonder, how do you can you work this in jenkins if you have to access different vaults?

  • @aptget822
    @aptget8223 жыл бұрын

    Can you provide guidance on how Jenkins integrates with ECS, that would be very helpful, Thank you

  • @user-be9sm7jl3d
    @user-be9sm7jl3d Жыл бұрын

    thanks for the nice video, i took 3 servers in AWS, 2 for jenkins (1-master, 1- agent/slave machine) 1- for vault. i have followed same steps , am able to connect vault with jenkins master but getting an error while adding the global level credentials for the agent (kv secrets) error is: "FAILED to retrieve username key: com.datapipe.jenkins.vault.exception.VaultPluginException: The credential id was not configured - please specify the credentials to use" , could you please help me on this

  • @NostraDavid2
    @NostraDavid2 Жыл бұрын

    15:00 Aaand you've just inserted a password into your (non-encrypted) .bash_history file... That's bad practice. Bash supports a feature where you add a space in FRONT of your command, which should prevent it from being inserted into your bash_history. Even better would be to not put the password on the commandline, but let a prompt show up and insert it then and there. Though that's maybe not possible with "vault write"? In which case, using the space trick is necessary.

  • @everismalaga3514
    @everismalaga35143 күн бұрын

    la igualdad ya existia hace mmucho tiempo quie no se hagan , nunca fuerojn a a pedir trabajo a la obra

  • @DecodeDevOps
    @DecodeDevOps6 ай бұрын

    FAILED to retrieve Vault secret: com.datapipe.jenkins.vault.exception.VaultPluginException: Key secret could not be found in path secrets/jenkins/password

  • @Sarels
    @Sarels11 ай бұрын

    Your tutorials are amazing!

Келесі