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
I'm of the opinion that disabling the security to all sensitive endpoints isn't the way to go.
I had this issue while accessing /metrics
and apparently, I was missing the spring-boot-starter-security
dependency:
org.springframework.boot
spring-boot-starter-security
After adding the dependency to my pom.xml
, and assuming that I have the following on my application.yml
...
security:
user:
name: myActuatorUser
password: myActuatorPwd
...
I was able to access my /metrics
endpoint.