Skip to content

Instantly share code, notes, and snippets.

@jpkrohling
Last active January 12, 2024 15:48
Show Gist options
  • Save jpkrohling/8b189d82d2da1307ba46a650edf31500 to your computer and use it in GitHub Desktop.
Save jpkrohling/8b189d82d2da1307ba46a650edf31500 to your computer and use it in GitHub Desktop.
OIDC Auth - Collector (server side)
extensions:
oidc/server:
issuer_url: http://0.0.0.0:8080/realms/opentelemetry
audience: collector
attribute: authorization
receivers:
otlp/secure:
protocols:
http:
auth:
authenticator: oidc/server
tls:
ca_file: ca.pem
cert_file: server.pem
key_file: server-key.pem
grpc:
auth:
authenticator: oidc/server
tls:
ca_file: ca.pem
cert_file: server.pem
key_file: server-key.pem
exporters:
debug:
service:
extensions: [oidc/server]
pipelines:
traces:
receivers: [otlp/secure]
exporters: [debug]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment