I have a micro service architecture like below:
- Spring Cloud Config Server has all the configuration for all the services.
- Eureka Server that registered each services and holds the information about all client-service applications.
- Zuul GateWay Server provides a single point for accessing all the services.
- OAuth2 Server that authenticates and generating the token for accessing the protected services.
- Services A,B and C are the expose rest endpoint that are called by client app. All these service are protected as resource server and should be accessed with token generated by authenticating in Oauth2 Server.
My question is regarding the Spring Cloud Config Server, Eureka Server and Zuul Gateway server. Should these service of be protected as Service A,B and C. If not , how do we secure them?
I am having a hard time to understand how it will work if i secure the Configuration server as protected resource. Because if i made it as protected resource the eureka server , gateway server and all other service depends on the configuration of the configuration server.
I will appreciate any help by you guys.
Regards.