# Elasticsearch-keystore

**URL:** https://discuss.elastic.co/t/elasticsearch-keystore/142567
**Category:** Elasticsearch
**Created:** [August 1, 2018, 12:21pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore/142567 "2018-08-01T12:21:23Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![bigdamhero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigdamhero/32/34478_2.png) [@bigdamhero](https://discuss.elastic.co/u/bigdamhero)
#### Post date: [August 1, 2018, 12:21pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore/142567/1 "2018-08-01T12:21:23Z")

</div>

I am not sure if this is the correct forum so please forgive me if not. I am trying to wrap my head around the elasticsearch keystore.  
I set up some settings, I removed some settings, I added a new setting which I found was not correct. now I cannot even get the elasticsearch-keystore list command to work. Is there a way to reset it or what other things are depending on it?

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [August 1, 2018, 12:42pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore/142567/2 "2018-08-01T12:42:23Z")

</div>

You're going to need to be a bit more specific.

What exactly is broken right now?

- what command are you running?
- what error are you getting?

---

<div class="post-metadata">

### Author: ![bigdamhero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigdamhero/32/34478_2.png) [@bigdamhero](https://discuss.elastic.co/u/bigdamhero)
#### Post date: [August 1, 2018, 12:46pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore/142567/3 "2018-08-01T12:46:54Z")

</div>

im not sure what is broken. when I try to run

bin/elasticsearch-keystore list

I get ....  
Exception in thread "main" ElasticsearchParseException[null-valued setting found for key [Set transport IP] found at line number [69], column number [18]]  
at org.elasticsearch.common.settings.Settings.validateValue(Settings.java:761)  
at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:725)  
at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:675)  
at org.elasticsearch.common.settings.Settings.access$500(Settings.java:84)  
at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1188)  
at org.elasticsearch.common.settings.Settings$Builder.loadFromPath(Settings.java:1165)  
at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:100)  
at org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:95)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)  
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:79)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)  
at org.elasticsearch.cli.Command.main(Command.java:90)  
at org.elasticsearch.common.settings.KeyStoreCli.main(KeyStoreCli.java:41)

---

<div class="post-metadata">

### Author: ![bigdamhero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigdamhero/32/34478_2.png) [@bigdamhero](https://discuss.elastic.co/u/bigdamhero)
#### Post date: [August 1, 2018, 2:27pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore/142567/4 "2018-08-01T14:27:20Z")

</div>

I found an error in a log file and I am trying to remove this setting from the keystore.

[2018-07-30T13:51:06,663][INFO][o.e.p.PluginsService] [node-1] loaded module [x-pack-watcher]  
[2018-07-30T13:51:06,663][INFO][o.e.p.PluginsService] [node-1] no plugins loaded  
[2018-07-30T13:51:09,676][ERROR][o.e.b.Bootstrap] Exception  
java.lang.IllegalArgumentException: unknown secure setting [ad.bind.passwd] please check that any required plugins are ins talled, or check the breaking changes documentation for removed settings  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:344) ~[elasticsea rch-6.3.2.jar:6.3.2]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:308) ~[elasticsea rch-6.3.2.jar:6.3.2]

---

<div class="post-metadata">

### Author: ![bigdamhero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigdamhero/32/34478_2.png) [@bigdamhero](https://discuss.elastic.co/u/bigdamhero)
#### Post date: [August 1, 2018, 3:41pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore/142567/5 "2018-08-01T15:41:24Z")

</div>

Is there some other way to "clear" the elastic keystore of values?

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [August 2, 2018, 12:40am UTC](https://discuss.elastic.co/t/elasticsearch-keystore/142567/6 "2018-08-02T00:40:25Z")

</div>

> [@bigdamhero](#):
>
> Is there some other way to "clear" the elastic keystore of values?

You can simply delete the file and recreate it with `elasticsearch-keystore create` if that's what you want.

> [@bigdamhero](#):
>
> ElasticsearchParseException[null-valued setting found for key [Set transport IP] found at line number [69], column number [18]]

This looks like a problem in your `elasticsearch.yml` config file.  
Check line 69 - it looks like you've made a mistake there.

---

<div class="post-metadata">

### Author: ![bigdamhero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigdamhero/32/34478_2.png) [@bigdamhero](https://discuss.elastic.co/u/bigdamhero)
#### Post date: [August 2, 2018, 12:52pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore/142567/7 "2018-08-02T12:52:11Z")

</div>

Wow that error creeped in there. Thank you guys so much guys. Looks like I am getting it moving now.

---

<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: [August 30, 2018, 12:52pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore/142567/8 "2018-08-30T12:52:26Z")

</div>

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