Access Spring Boot Actuator endpoints in Java microservices without authentication (IoT Edge)

What product/components do you use and which version/fix level?

Cumulocity IoT Edge 10.9

Are you using a free trial or a product with a customer license?

customer license

What are trying to achieve? Please describe in detail.

Is there a way to enable access to Spring Boot Actuator endpoints in hosted Java microservices without authentication on a Cumulocity IoT Edge?

All requests which are using the microservice proxy {{url}}/service/{{microservice_name}}/health (etc.) require authentication.

If you have the possibility on the edge to not use the proxy but internal APIs (like http://cumulocity:8111) the health endpoint does not require authentication but will show less information as property management.endpoint.health.show-details=when_authorized is used.

Not sure though if cumulocity 8111 is exposed on the edge. You can give it a try but this will only work edge internal.

Thanks, Stefan. The customer needs access from outside the Edge, so I assume this is not possible. :frowning:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.