How to secure our OpenTelemetry Endpoint with Keycloak?
- I am only using OpenTelemetry Collector Gateway ( no agents) in my scenario.
- I have created an OTLP/HTTP endpoint and made it publicly available to receive telemetry data on it. But I want to make it secure, that is why I'm looking for Keycloak integration.
It would be great if any of the community members can help.
Thanks!
I am trying to secure the OpenTelemetry Endpoint with Keycloak. Requirement: I have exposed an OTLP/HTTP Otel endpoint publicly for receiving telemetry data from other sources. And to make it secure, I am integrating it with Keycloak.
I have tried to integrate it, added some configuration code in otel-collector-gateway as well.. and created client in keycloak.. And now when I access the endpoint, its says UNAUTHORISED.
But its not giving any Keycloak page to enter credentials nor token. I am not sure where I went wrong.
Expectation: When I hit the endpoint, it should ask for Keycloak credentials/token for auth and after entering valid creds, it should work.