Authentifcation for REST Client


(Hichem Noomeni) #1

Hello everyone,

I am using x_pack security to secure my elasticsearch nodes. I am using a REST client via my java application to send REST request to elasticsearch server.
But I didn't find any token based authentification documentation for REST client. I understood that authentification is only basic ( Base 64 encryption ) .

Is there please a way to authentifcate via JWT bearer tokens (for example) ?

Thank you all .


(Alexander Reelsen) #2

have you seen this page in our documentation? https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/_basic_authentication.html


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.