-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 apikey authentication support to quarkus-elasticsearch-rest-client #45490
Comments
/cc @cescoffier (rest-client), @geoand (rest-client), @gsmet (elasticsearch), @loicmathieu (elasticsearch), @marko-bekhta (elasticsearch), @yrodiere (elasticsearch) |
Hello, The low-level REST client supports API key authentication by configuring it this way: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/_other_authentication_methods.html#_elasticsearch_api_keys In Quarkus, you can set such configuration through a custom bean annotated with If you want to add support for directly setting the API key through configuration, I think that's a good idea, and should not be too hard; pull requests welcome! For anyone wanting to implement this, the implementation would boil down to:
General information about how to start contributing to Quarkus is available here: https://github.com/quarkusio/quarkus/blob/main/CONTRIBUTING.md |
I am wiling to take this up. |
Description
Hi right now only username/password auth is supported in the rest client. The elasticsearch cluster that i am connecting to is using apikey auth.
https://quarkus.io/guides/elasticsearch#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-username
Can i request to add apikey auth support to this rest client?
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: