# Password Policy Setting for users in kibana X-pack

**URL:** <https://discuss.elastic.co/t/password-policy-setting-for-users-in-kibana-x-pack/236040>\
**Category:** Kibana\
**Created:** [June 6, 2020, 2:29pm UTC](https://discuss.elastic.co/t/password-policy-setting-for-users-in-kibana-x-pack/236040 "2020-06-06T14:29:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JG.91](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jg.91/32/69820_2.png) [@JG.91](https://discuss.elastic.co/u/JG.91)\
**Post date:** [June 6, 2020, 2:29pm UTC](https://discuss.elastic.co/t/password-policy-setting-for-users-in-kibana-x-pack/236040/1 "2020-06-06T14:29:11Z")

</div>

Hello friends,  
I want to know how I Can configure password policies like password complexity, minimum length, ... for users in Kibana with X-Pack.  
Thank you

---

<div class="post-metadata">

**Author:** ![Coinology](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Coinology](https://discuss.elastic.co/u/Coinology)\
**Post date:** [June 6, 2020, 5:26pm UTC](https://discuss.elastic.co/t/password-policy-setting-for-users-in-kibana-x-pack/236040/2 "2020-06-06T17:26:53Z")

</div>

Assuming that you are using the native realm, there is currently an enhancement request for this that is open. See here: [https://github.com/elastic/elasticsearch/issues/29913](https://github.com/elastic/elasticsearch/issues/29913)

In the meantime, you could always use a realm that supports it. See [this](https://www.elastic.co/guide/en/elasticsearch/reference/master/realms.html#:~:text=Realmsedit,users%20based%20on%20authentication%20tokens.&text=An%20internal%20realm%20where%20users%20are%20stored%20in%20a%20dedicated%20Elasticsearch%20index.) link for supported realms. A couple that come to mind are Active Directory or SAML SSO (with a provider that supports it).

Cheers!

---

<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:** [July 4, 2020, 5:37pm UTC](https://discuss.elastic.co/t/password-policy-setting-for-users-in-kibana-x-pack/236040/3 "2020-07-04T17:37:26Z")

</div>

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