Adding a basic user/pass authentication for ElasticSearch

I deployed Elasticsearch with the following the page below to my Azure Kubernetes environment.

It works fine.

But I want to add a basic user/password authentication for Elasticsearch page. I really don't get it why it's so complicated and needs to Google it.

Then I checked this page;

I guess I need to add " true" to elasticsearch.yaml file, but to where? How can I do that? I c/p and put the yaml file and it didn't worked.

Then the documentation below mentioned about the creating passwords for built-in users, but they mentioned only manual installations, not sure how to do with Kubernetes?



Is there any basic documentation available for creating authentication on Elasticsearch? How can I do that?

Ps: Elastic documentation is really bad, in my opinion. It needs to be revised.


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