The Spring Cloud Configuration server (shortened to config server) will be added to the existing microservice landscape behind the edge server in Chapter 10, Using Spring Cloud Gateway to Hide Microservices Behind an Edge Server, in the same way as for the other microservices:
When it comes to setting up a config server, there are a number of options to consider:
- Selecting a storage type for the configuration repository
- Deciding on the initial client connection, either to the config server or to the discovery server
- Securing the configuration, both against unauthorized access to the API and
avoiding storing sensitive information in plain text in the configuration repository
Let's go through each option one by one and also introduce the API exposed by the config server.