Mastering HashiCorp Vault: Install & Integrate with Kubernetes for Spring Boot Applications

Unlock the power of secure secret management with HashiCorp Vault!
In this detailed guide, we dive into the intricacies of installing HashiCorp Vault in a Kubernetes environment and seamlessly integrating it with a Spring Boot application.
We start by exploring the core concepts of HashiCorp Vault, understanding its importance in managing secrets and sensitive data. Then, we shift our focus to practical integration strategies, demonstrating how to configure Vault 🔒 with a Spring Boot application 🍃 within a Kubernetes cluster ☸️.
You'll learn how to authenticate, store, and retrieve secrets, enhancing your app's security posture. 🔐
_______________
Timestamp ⌚️ :
_______________
- 0:00 : Introduction
- 2:23 : Environment setup and Installing Vault
- 6:46 : Adding secrets to vault
- 7:26 : Creating a spring boot application
- 11:43 : Deploying the application into Kubernetes
- 14:41 : Configuring Kubernetes authentication
- 18:07 : Adding role to Vault Kubernetes authentication
- 22:20 : Creating a Policy for our KV secrets
- 24:25 : Quick recap
___________________
Installation links ⚙️ :
___________________
Home Brew for Mac OS 🍺 : brew.sh/
Chocolatey for windows 🍫 : chocolatey.org/install.
Docker 🐳 : docs.docker.com/get-docker/
Docker Hub 🗄 : hub.docker.com/
Virtual Box 📦 : www.virtualbox.org/
SpringBoot intializr 🍃 : start.spring.io/
______________________
You can reach me on 🤝 :
_______________________
LinkedIn 💼 : / essouabni
#HashiCorpVault #Kubernetes #SpringBoot #DevSecOps #CloudSecurity #SecretManagement

Пікірлер: 14

  • @ushahembaukange5248
    @ushahembaukange5248Ай бұрын

    Very solid tutorial.. Thanks for taking time to create this tutorial

  • @user-zn8dm8cp5t
    @user-zn8dm8cp5t3 ай бұрын

    This is the kind of videos I'm looking for lol, so much of knowledge in one video!

  • @rim1705
    @rim17057 ай бұрын

    So helpful thank you!!! 👏

  • @lejeq
    @lejeq7 ай бұрын

    Really nice video! I was looking sth to practice hashicorp valut rather than azure keyvault.

  • @matzehampel
    @matzehampel7 ай бұрын

    this might be a bit off-topic. but do you might share your desk setup (monitors, keyboard, ..) ?

  • @EkitLab

    @EkitLab

    6 ай бұрын

    The monitor is a HUAWEI MateView GT 34-inch, the keyboard is a Keychron the desktop is built up manually using different materials, the mouse is a logitech mx and the chair is the Herman Miller Logitec :)

  • @princetheboss1605
    @princetheboss16056 ай бұрын

    Could you make a video on how you set up your terminal?

  • @EkitLab

    @EkitLab

    6 ай бұрын

    You can download and use Fig and Hyper for the same customization

  • @IlayPugachev
    @IlayPugachev5 ай бұрын

    Hey bro, I don't know why, bu after installation vault via helm pod/vault-0 and statefulset.apps/vault is 0/1 Ready. Do you know what's the reason?

  • @EkitLab

    @EkitLab

    2 ай бұрын

    Sorry for the late response, but for those kind of problems you should start by checking K8S events

  • @sivasantosh3234
    @sivasantosh32342 ай бұрын

    In my case my application is specified incorrect path for the token E:/var/run/secrets like that iam trying to troubleshoot can you please hepp me with the issue

  • @sivasantosh3234

    @sivasantosh3234

    2 ай бұрын

    Can anyone please help me with this because from past week iam facing this issue

  • @EkitLab

    @EkitLab

    2 ай бұрын

    Can you please check your application.yaml under spring.cloud.vault.kubernetes.token and set it to the correct path for your token. within your pod you can check the token path by runing cat /var/run/secrets/kubernetes.io/serviceaccount/token

  • @sivasantosh3234

    @sivasantosh3234

    2 ай бұрын

    Thank you very much for your prompt response brother , in my case service-token-file is pointing to the correct path even in my pod also by running the command i can able to get the token but somewhere it is locating the E folder in my system due to which i cannot able to access the vault by using kubernetes authentication​@@EkitLab