mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-14 10:55:25 +02:00
elasticsearch-keystore: add page (#17123)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
This commit is contained in:
parent
a384c1e979
commit
e6b13dda23
1 changed files with 36 additions and 0 deletions
36
pages/common/elasticsearch-keystore.md
Normal file
36
pages/common/elasticsearch-keystore.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue