1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-14 17:15:24 +02:00
tldr/pages/common/elasticsearch-keystore.md
Amine LOUHICHI e6b13dda23
elasticsearch-keystore: add page (#17123)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-07-05 11:54:58 +00:00

926 B

elasticsearch-keystore

Manage secure settings (e.g., passwords, tokens, and credentials) used by Elasticsearch. More information: https://www.elastic.co/guide/en/elasticsearch/reference/current/elasticsearch-keystore.html.

  • Create a new keystore (not password-protected):

elasticsearch-keystore create

  • Create a new password-protected keystore:

elasticsearch-keystore create -p

  • Add a setting interactively:

elasticsearch-keystore add {{setting_name}}

  • Add a setting from standard input:

echo "{{setting_value}}" | elasticsearch-keystore add --stdin {{setting_name}}

  • Remove a setting from the keystore:

elasticsearch-keystore remove {{setting_name}}

  • Change the keystore password:

elasticsearch-keystore passwd

  • List all settings stored in the keystore:

elasticsearch-keystore list

  • Upgrade the keystore format (after an Elasticsearch upgrade):

elasticsearch-keystore upgrade