# "bin/elasticsearch-keystore show -o" "o" is not a recognized option

**URL:** <https://discuss.elastic.co/t/bin-elasticsearch-keystore-show-o-o-is-not-a-recognized-option/325090>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Tags:** docker\
**Created:** [February 9, 2023, 5:50am UTC](https://discuss.elastic.co/t/bin-elasticsearch-keystore-show-o-o-is-not-a-recognized-option/325090 "2023-02-09T05:50:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![screwyy](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@screwyy](https://discuss.elastic.co/u/screwyy)\
**Post date:** [February 9, 2023, 5:50am UTC](https://discuss.elastic.co/t/bin-elasticsearch-keystore-show-o-o-is-not-a-recognized-option/325090/1 "2023-02-09T05:50:06Z")

</div>

Hello,

I'm deploying an ECK 2.6.1 elastic cluster using the image: `docker.elastic.co/elasticsearch/elasticsearch:8.4.2`  
I'm pushing 2 secrets as per [docs](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-es-secure-settings.html)  
`s3.client.default.access_key` and `s3.client.default.secret_key`, I can list them once deployed:

```auto
elasticsearch@logging-es-data-0:~$ bin/elasticsearch-keystore list
keystore.seed
s3.client.default.access_key
s3.client.default.secret_key

```

but I can't get their contents as per [docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.4/elasticsearch-keystore.html):

```auto
elasticsearch@logging-es-data-0:~$ bin/elasticsearch-keystore show -o my_file s3.client.default.access_key
A tool for managing settings stored in the elasticsearch keystore

Non-option arguments:
command

Option Description
------ -----------
-E <KeyValuePair> Configure a setting
-h, --help Show help
-s, --silent Show minimal output
-v, --verbose Show verbose output
ERROR: o is not a recognized option

```

```auto
elasticsearch@logging-es-data-0:~$ bin/elasticsearch-keystore show --help
Show a value from the keystore

Non-option arguments:
setting name

Option Description
------ -----------
-E <KeyValuePair> Configure a setting
-h, --help Show help
-s, --silent Show minimal output
-v, --verbose Show verbose output
elasticsearch@logging-es-data-0:~$ 

```

---

<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:** [March 9, 2023, 5:50am UTC](https://discuss.elastic.co/t/bin-elasticsearch-keystore-show-o-o-is-not-a-recognized-option/325090/2 "2023-03-09T05:50:47Z")

</div>

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