Skip to content

Demo of a Spring Cloud Config server that requires basic authentication. Clients read the credentials from vault and configure their config client by facilitating Spring Cloud Config's auto-discovery support.

License

Notifications You must be signed in to change notification settings

Haufe-Lexware/demo-authorized-spring-config-server

Repository files navigation

Authorized Spring Config Server Demo

This project demonstrates the use of a Spring Cloud Config server that requires HTTP basic authentication from its client. Both client and server learn the relevant credentials from a lookup in a Hashicorp Vault instance using a Spring Cloud Vault client.

The configuration of the config clients must take place during the respective application's bootstrapping and therefore has no implicit access to the Property sources injected by Spring Cloud Vault into the application environment. This demo's workaround is based on Spring Cloud Config's service discovery support.

The demo was prepared for a presentation at a meeting of the Java user group Freiburg in October 2017.

About

Demo of a Spring Cloud Config server that requires basic authentication. Clients read the credentials from vault and configure their config client by facilitating Spring Cloud Config's auto-discovery support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published