Skip to content

steve-perkins/spring-config-properties

Repository files navigation

spring-config-properties

This is one of three Git repositories, which work together to demonstrate using Spring Cloud Config and Vault for configuration management:

This demo shows the use case of having two types of config properties:

  1. non-secret values, which can and should be maintainable by developer teams (e.g. JDBC URL's).
  2. secret values, which should only be viewable or maintainable by people with specialized access (e.g. usernames and passwords)

The non-secret values are stored as-is in the spring-config-properties repo. The secret values are manually written to Vault. At runtime, Spring Cloud Config retrieves properties from both sources, giving Vault the higher precedence whenever the same property is found in both.

Setup

This repository involves no setup steps. You don't even have to clone it, as the spring-config-server application will clone its own copy internally. Proceed to the steps described in the spring-config-server and spring-config-sample-app project README's.

About

Spring Cloud Config demo with a Git and Vault composite repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published