How to connect HashiCorp Vault With Spring Boot Application | Setup HashiCorp Vault

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

ความคิดเห็น • 21

  • @jevillac07
    @jevillac07 ปีที่แล้ว +2

    Thanks for your explanation! It helped me a lot

  • @AjitSwain-q3o
    @AjitSwain-q3o 2 หลายเดือนก่อน

    Not sure how it is retrieving the data from the Vault in the VaultConfig.java file. What if I am not giving demo.username and use key as just username?

    • @JavaTechSolutions
      @JavaTechSolutions  2 หลายเดือนก่อน

      It is getting value based on the prefix

  • @ai_made_easy
    @ai_made_easy 9 หลายเดือนก่อน

    Thanks for the video. Can you show any example of how to use vault with spring cloud config as centralized properties server, where the services connecting will retrieve secrets from vault? I also implemented a database backend for the spring cloud config server. I tried but it does not work.

    • @JavaTechSolutions
      @JavaTechSolutions  9 หลายเดือนก่อน

      Thank you for your concern. Please check cloud config related tutorial.

    • @ai_made_easy
      @ai_made_easy 9 หลายเดือนก่อน +1

      Trust me. I spent weeks working on the tutorials. I surely know every page on the cloud config tutorial. I do not know how to handle instances where services can connect to spring cloud via vault - using the http basic username and password saved in vault. The security implementation for config server is done using a backend database@@JavaTechSolutions

    • @ai_made_easy
      @ai_made_easy 9 หลายเดือนก่อน

      Thanks though@@JavaTechSolutions

    • @JavaTechSolutions
      @JavaTechSolutions  9 หลายเดือนก่อน

      what is your need can you plz explain?

  • @ergopal757
    @ergopal757 9 หลายเดือนก่อน

    Hi Sir, Please let me know,what are the request parameters you have set in Postman.Since I am not getting the desired result.

    • @JavaTechSolutions
      @JavaTechSolutions  9 หลายเดือนก่อน

      What param you are trying to set here

  • @paggybhangale
    @paggybhangale ปีที่แล้ว

    i wanted to fetch password for database connectivity. do we need to restart the java app if password rotates/changed ? how can we achieve to fetch new password without restart app?😊

    • @JavaTechSolutions
      @JavaTechSolutions  ปีที่แล้ว

      if you modify in vault server then restart not needed. If anything is changes in app then only restart is needed in app side else not required

  • @TikTokTrendsCompilation
    @TikTokTrendsCompilation ปีที่แล้ว

    but every time i close the vault server now everything i saved in vault gets permanently deleted, so whats the point? how is this supposed to work if i have to recreate the values every time i run the whole thing again?
    also should i start vault through docker? how can i persist data i saved in vault?

    • @JavaTechSolutions
      @JavaTechSolutions  ปีที่แล้ว

      For demonstration I used in my local. So everytime I start it it flush data. For real we need one server or may be cloud where we store data permanently so that it will store data permanently

    • @TikTokTrendsCompilation
      @TikTokTrendsCompilation ปีที่แล้ว +1

      @@JavaTechSolutions can you make a tutorial how to do that? for example storing AWS iam credentials permanently and safely (which should always be located at ~/.aws/credentials)

    • @JavaTechSolutions
      @JavaTechSolutions  ปีที่แล้ว +1

      @@TikTokTrendsCompilation ok

    • @TikTokTrendsCompilation
      @TikTokTrendsCompilation ปีที่แล้ว +1

      @@JavaTechSolutions its been over a month sir, still no video on this topic?

    • @JavaTechSolutions
      @JavaTechSolutions  ปีที่แล้ว

      @@TikTokTrendsCompilation actually I was sick due to this not able to upload a video.