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 OAuth2.0 support to Metrics API scaler #6384

Open
edwin-Marrima opened this issue Dec 1, 2024 · 0 comments
Open

Add OAuth2.0 support to Metrics API scaler #6384

edwin-Marrima opened this issue Dec 1, 2024 · 0 comments
Labels
feature-request All issues for new features that have not been committed to needs-discussion

Comments

@edwin-Marrima
Copy link

Proposal

Metrics API scaler supports Bearer authMode, however It is necessary to pass a static token, which is not ideal for current scenarios. Firstly, it represents a security risk; and secondly, it requires the token to be changed when the encryption key is updated, which involves a significant amount of work and presents other challenges.
I suggest adding support for the OAuth2.0 client credentials flow. This way, the Metric API scaler will be responsible for interacting with the IDP to obtain tokens.

Use-Case

No response

Is this a feature you are interested in implementing yourself?

Yes

Anything else?

No response

@edwin-Marrima edwin-Marrima added feature-request All issues for new features that have not been committed to needs-discussion labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request All issues for new features that have not been committed to needs-discussion
Projects
Status: To Triage
Development

No branches or pull requests

1 participant