Spring Cloud Integration with HashiCorp Vault and Consul
summary
Practical demo of Spring Cloud integration with HashiCorp Vault and Consul, showing Vault sidecar for mounting secrets, Spring Cloud Vault using KV/Consul/AWS backends, and Spring Cloud Consul for config and discovery. Shows using Testcontainers and a Docker Compose example to run Vault+Consul and local AWS (LocalStack). Explains lease lifecycle handling with a Lease event listener and bean rebinding, notes open issues with Config Data import ordering and Consul health contributor, and gives a Spring factory workaround that obtains Consul tokens at bootstrap.
AI-written summary · about
chapters (15)
- 0:00Introduction to talk
- 2:33Speaker introduction
- 4:59Spring Boot and Spring Cloud overview
- 7:05Spring Cloud Vault integration
- 10:15Configuration and secret management
- 13:03Lease lifecycle and injection
- 15:51Config data and bootstrap methods
- 17:33Secret paths and profiles
- 18:35Spring Cloud AWS integration
- 20:00Database and file secret formats
- 21:47CI pipeline and testing
- 23:10Service discovery and load balancing
- 24:57Health checks and contributors
- 26:39Workarounds and open issues
- 27:41Demo and resources summary
related talks
51mManage Distributed Configuration and Secrets with Spring Cloud and Vault
53mSecuring Spring Applications with Hashicorp Vault
49mSpring Cloud *: Exploring Spring Cloud Implementations
36mManage Distributed Secrets in Applications on Cloud Foundry With Spring Cloud Vault
38mModern Service Networking With Consul Connect, Envoy and Kubernetes
52mIntroduction to Spring Cloud
31mModern Security with Microservices and the Cloud
01h 20mGetting Started with Spring Cloud
