# Kibana Keystore

**URL:** <https://discuss.elastic.co/t/kibana-keystore/132721>\
**Category:** Kibana\
**Created:** [May 22, 2018, 5:53am UTC](https://discuss.elastic.co/t/kibana-keystore/132721 "2018-05-22T05:53:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![delly.set](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@delly.set](https://discuss.elastic.co/u/delly.set)\
**Post date:** [May 22, 2018, 5:53am UTC](https://discuss.elastic.co/t/kibana-keystore/132721/1 "2018-05-22T05:53:28Z")

</div>

Hi,

I created a keystore in kibana to store the credentials for connecting kibana to ElasticSearch.

But I received the error when restart the Kibana. Anyone encountered and how to resolved this?

_log [05:08:57.786] [fatal] "elasticsearch\_password" setting was not applied. Check for spelling errors and ensure that expected plugins are installed and enabled._  
_FATAL "elasticsearch\_password" setting was not applied. Check for spelling errors and ensure that expected plugins are installed and enabled._

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [May 22, 2018, 1:57pm UTC](https://discuss.elastic.co/t/kibana-keystore/132721/2 "2018-05-22T13:57:06Z")

</div>

can you provide more details on the steps you took ?

i guess you tried to follow this: [https://www.elastic.co/guide/en/kibana/current/secure-settings.html](https://www.elastic.co/guide/en/kibana/current/secure-settings.html) ?

---

<div class="post-metadata">

**Author:** ![delly.set](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@delly.set](https://discuss.elastic.co/u/delly.set)\
**Post date:** [May 25, 2018, 5:41am UTC](https://discuss.elastic.co/t/kibana-keystore/132721/3 "2018-05-25T05:41:56Z")

</div>

yes. Step by step follow that link.

This is how my kibana.yml config file looks like:  
_# If your Elasticsearch is protected with basic authentication, these settings provide_  
_# the username and password that the Kibana server uses to perform maintenance on the Kibana_  
_# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which_  
_# is proxied through the Kibana server._  
_elasticsearch.username: "kibana"_  
_elasticsearch.password: ${ES\_PWD}_

but when I restart the kibana, I received error:  
_log [04:07:50.215] [fatal] "ES\_PWD" setting was not applied. Check for spelling errors and ensure that expected plugins are installed and enabled._  
_FATAL "ES\_PWD" setting was not applied. Check for spelling errors and ensure that expected plugins are installed and enabled._

Pls help?

---

<div class="post-metadata">

**Author:** ![delly.set](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@delly.set](https://discuss.elastic.co/u/delly.set)\
**Post date:** [May 25, 2018, 6:38am UTC](https://discuss.elastic.co/t/kibana-keystore/132721/4 "2018-05-25T06:38:14Z")

</div>

okay, managed to get it work.

The name of the key in the keystore has to be the same as in the kibana.yml

like this:  
_elasticsearch.password: ${elasticsearch.password}_

---

<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:** [June 22, 2018, 6:38am UTC](https://discuss.elastic.co/t/kibana-keystore/132721/5 "2018-06-22T06:38:15Z")

</div>

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