seznam / elasticlient

C++ Elasticsearch client library
https://seznam.github.io/elasticlient/
MIT License
133 stars 67 forks source link

Authentication Methods #25

Closed zmink-pxc closed 3 years ago

zmink-pxc commented 3 years ago

Are there plans to support username/password / jwt authentication methods?

johniez commented 3 years ago

As we are using certificates to restrict access, these auth possibilities are now missing. It should not be hard to implement, I assume the appropriate header have to be set to client session from constructor options.

We cannot promise implementing this soon, but we are happy to accept pull requests from others...

zmink-pxc commented 3 years ago

@johniez thanks for the response and feedback. I'll give the library a shot and submit a PR if necessary. SSL alone might be sufficient, but wanted to get your thoughts. Thanks again