Difference between Spring Cloud Vault and Spring C

2020-03-24 06:14发布

问题:

What is the difference between the followings?

  • Spring Cloud Vault - http://cloud.spring.io/spring-cloud-vault/
  • Spring Cloud Config Server with Vault backend - http://cloud.spring.io/spring-cloud-static/Camden.SR4/#_spring_cloud_config_server

回答1:

Spring Cloud Vault is more lightweight because it does not require to run a java server (Spring Cloud Config Server) as a frontend for Vault, your Spring Boot app connects directly to Vault.

I have a small demo: https://github.com/gmarziou/demo-spring-cloud-vault