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

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
s3.client.default.access_key and s3.client.default.secret_key, I can list them once deployed:

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:

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
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:~$ 

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