April 2018
Intermediate to advanced
432 pages
10h 38m
English
As I have mentioned before, we have to run the Spring Cloud Config Server with the --spring.profiles.active=vault parameter to enable Vault as a backend store. To override the default auto configured settings, we should define the properties under the spring.cloud.config.server.vault.* key. The current configuration for our example application is shown here. An example application is available on GitHub; you need to switch to the config_vault branch (https://github.com/piomin/sample-spring-cloud-netflix/tree/config_vault) to access it:
spring: application: name: config-server cloud: config: server: vault: host: 192.168.99.100 port: 8200
Now, you may call the endpoint exposed by the Config Server. You have ...