I wanted to control the microservices that are running in the Eureka server. I used spring-boot-admin for this, but I am getting the error on accessing the information about the
It's better to setup security by credentials username
and password
for most of endpoints listed here:
https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-endpoints.html
Exceptions from the rule are health
and info
endpoints which won't be protected by credentials.
You can set username
and password
in application.properties
like that:
security.user.name=admin
security.user.password=secret