Client-side configuration

When using Vault as a backend to your Config Server, the client will need to pass a token for the server to be able to retrieve values from Vault. This token should be provided in the client configuration settings with the spring.cloud.config.token property in the bootstrap.yml file:

spring: application:   name: client-service cloud:   config:     uri: http://localhost:8889     token: client

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.