Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Spring Cloud Vault and Spring Cloud Config with Vault backend

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
like image 627
wltheng Avatar asked Aug 04 '17 09:08

wltheng


People also ask

What is difference between spring vault and spring Cloud Vault?

Spring Cloud Vault uses Spring Vault to provide a configuration integration for Spring Boot-based applications. Spring Cloud Vault provides configuration data to applications that is encrypted inside Vault.

What is spring Cloud Vault?

Spring Cloud Vault Config provides client-side support for externalized configuration in a distributed system. With HashiCorp's Vault you have a central place to manage external secret properties for applications across all environments.

What is spring Cloud config used for?

Spring Cloud Config provides server and client-side support for externalized configuration in a distributed system. With the Config Server you have a central place to manage external properties for applications across all environments.

Does spring Cloud config override properties?

Overriding the Values of Remote Properties If you want to allow your applications to override the remote properties with their own System properties or config files, the remote property source has to grant it permission by setting spring. cloud. config.


1 Answers

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

like image 173
Gaël Marziou Avatar answered Sep 30 '22 11:09

Gaël Marziou