# How to setup local user accounts for kibana on kibana host

**URL:** <https://discuss.elastic.co/t/how-to-setup-local-user-accounts-for-kibana-on-kibana-host/99647>\
**Category:** Kibana\
**Created:** [September 7, 2017, 1:08am UTC](https://discuss.elastic.co/t/how-to-setup-local-user-accounts-for-kibana-on-kibana-host/99647 "2017-09-07T01:08:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikhilpawar1985](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nikhilpawar1985](https://discuss.elastic.co/u/Nikhilpawar1985)\
**Post date:** [September 7, 2017, 1:08am UTC](https://discuss.elastic.co/t/how-to-setup-local-user-accounts-for-kibana-on-kibana-host/99647/1 "2017-09-07T01:08:18Z")

</div>

Hi ,  
I have installed kibana on server and want to create local user accounts for different user with UN and PWs . I can not use x-pack or shield as this kibana instance is connecting to AWS managed ES.

Can someone please advise how can i achieve this.

Thanks

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [September 7, 2017, 1:28am UTC](https://discuss.elastic.co/t/how-to-setup-local-user-accounts-for-kibana-on-kibana-host/99647/2 "2017-09-07T01:28:40Z")

</div>

Are you expecting the users to have different roles etc?

---

<div class="post-metadata">

**Author:** ![Nikhilpawar1985](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nikhilpawar1985](https://discuss.elastic.co/u/Nikhilpawar1985)\
**Post date:** [September 7, 2017, 1:58am UTC](https://discuss.elastic.co/t/how-to-setup-local-user-accounts-for-kibana-on-kibana-host/99647/3 "2017-09-07T01:58:31Z")

</div>

If different users can have different roles that will be great without using shield and xpack . Not sure if thats possible .

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [September 7, 2017, 2:02am UTC](https://discuss.elastic.co/t/how-to-setup-local-user-accounts-for-kibana-on-kibana-host/99647/4 "2017-09-07T02:02:02Z")

</div>

I am unaware of any stable method of doing that without `shield` and `x-pack` either. However, if you want simple login and passwords for different people, a setup I have found reliable is using `.htaccess` + `.htpasswd` along with `NGinX`!

Simplest example I could find was [this](https://mahi130.wordpress.com/2015/08/25/enabling-kibana-authentication-with-nginx/)

CAUTION: This is quite simplistic and should only ever be used in dev and/or test. For production, I highly recommend finding a way to change the infrastructure so that you can use `x-pack`!

---

<div class="post-metadata">

**Author:** ![Nikhilpawar1985](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nikhilpawar1985](https://discuss.elastic.co/u/Nikhilpawar1985)\
**Post date:** [September 7, 2017, 2:10am UTC](https://discuss.elastic.co/t/how-to-setup-local-user-accounts-for-kibana-on-kibana-host/99647/5 "2017-09-07T02:10:28Z")

</div>

Thanks for the info and advise .

Problem is our environment is not fully on AWS so far thats we cannot use IAM role & policy base access.

And We do not want to manage ES environment in our DC .  
Thats why i am trying to figure our the way to restrict access to Kibana . We cant use AWS kibana as we need few custom plugins on Kibana .

---

<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:** [October 5, 2017, 2:10am UTC](https://discuss.elastic.co/t/how-to-setup-local-user-accounts-for-kibana-on-kibana-host/99647/6 "2017-10-05T02:10:29Z")

</div>

Closed on October 5, 2017, 2:10am UTC

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