Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to enable authentication using Bearer tokens #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sirkrypt0
Copy link
Collaborator

By enabling the bearerEnabled setting, authentication on the metrics
endpoint using valid Bearer tokens can now be enforced. A client requesting
the metrics endpoint must set the Authorization: Bearer header with a valid
token obtained from Keycloak. The token must originate from the realm configured
by the realm setting (defaults to master) and must have the role configured
in the role setting (defaults to prometheus-metrics).

@sirkrypt0 sirkrypt0 force-pushed the feature/bearer-authentication branch 2 times, most recently from 8015ff9 to c38c506 Compare May 28, 2022 11:26
@sirkrypt0 sirkrypt0 force-pushed the feature/bearer-authentication branch from c38c506 to 08898bd Compare April 30, 2023 19:49
@sirkrypt0 sirkrypt0 force-pushed the feature/bearer-authentication branch from 08898bd to 655893e Compare August 8, 2023 14:36
@sirkrypt0 sirkrypt0 force-pushed the feature/bearer-authentication branch 3 times, most recently from ccad8df to c46d3cb Compare November 10, 2024 15:33
By enabling the `bearerEnabled` setting, authentication on the
metrics endpoint using valid Bearer tokens can now be enforced.
A client requesting the metrics endpoint must set the
`Authorization: Bearer` header with a valid token obtained from
Keycloak. The token must originate from the realm configured by
the `realm` setting (defaults to `master`) and must have the
role configured in the `role` setting (defaults to `prometheus-metrics`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant