# Elasticsearch Kibana user authentication

**URL:** <https://discuss.elastic.co/t/elasticsearch-kibana-user-authentication/268712>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [March 30, 2021, 12:34am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-user-authentication/268712 "2021-03-30T00:34:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![twilight](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/twilight/32/83450_2.png) [@twilight](https://discuss.elastic.co/u/twilight)\
**Post date:** [March 30, 2021, 12:34am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-user-authentication/268712/1 "2021-03-30T00:34:51Z")

</div>

Hello,  
I have installed ES and Kibana 7.12 on an Amazon Linux AMI using the rpm packages.

But I cannot see any user authentication settings in either of the config files.  
I have installed metricbeat on some other servers which are pushing beats data to ES without auth.

I want to enable user auth for ES and also for Kibana frontend/dashboard etc. with different roles. Currently Kibana is loading without auth which I want to restrict.

Please guide.  
Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 30, 2021, 1:59am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-user-authentication/268712/2 "2021-03-30T01:59:35Z")

</div>

[Configure security for the Elastic Stack | Elasticsearch Reference [7.12] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-stack-security.html) is the best place to start.

---

<div class="post-metadata">

**Author:** ![twilight](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/twilight/32/83450_2.png) [@twilight](https://discuss.elastic.co/u/twilight)\
**Post date:** [March 30, 2021, 10:36am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-user-authentication/268712/3 "2021-03-30T10:36:43Z")

</div>

Thanks, but it mentions some specific utilities in /bin which I cannot see on my server.  
There is no elastic\* or kibana\* file in /bin and usr/bin.

Another article about user authentication mentioned similar location "if ES and Kibana were installed using tar.gz", I am confused why some files and features are specific to the package type? Does it mean I re-install using tar.gz?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [March 30, 2021, 2:10pm UTC](https://discuss.elastic.co/t/elasticsearch-kibana-user-authentication/268712/4 "2021-03-30T14:10:29Z")

</div>

The features are the same you should get familiar with the directory layout see [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html#rpm-layout)

The binaries should be here

`/usr/share/elasticsearch/bin`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 27, 2021, 2:11pm UTC](https://discuss.elastic.co/t/elasticsearch-kibana-user-authentication/268712/5 "2021-04-27T14:11:24Z")

</div>

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