LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

elasticsearch-keystore

Manage encrypted Elasticsearch secure settings

TLDR

Create keystore
$ elasticsearch-keystore create
copy
Create a password-protected keystore
$ elasticsearch-keystore create -p
copy
List settings
$ elasticsearch-keystore list
copy
Add setting (prompts for value)
$ elasticsearch-keystore add [setting.name]
copy
Add setting from stdin
$ echo "[value]" | elasticsearch-keystore add --stdin [setting.name]
copy
Add setting from file
$ elasticsearch-keystore add-file [setting.name] [file]
copy
Show a setting value
$ elasticsearch-keystore show [setting.name]
copy
Remove setting
$ elasticsearch-keystore remove [setting.name]
copy
Upgrade keystore
$ elasticsearch-keystore upgrade
copy

SYNOPSIS

elasticsearch-keystore command [options]

DESCRIPTION

elasticsearch-keystore manages the secure settings keystore for Elasticsearch. Stores sensitive configuration like passwords and API keys in encrypted form.

PARAMETERS

--stdin

Read setting value from stdin (used with add).
-f, --force
Overwrite existing setting without prompting.
-p
Prompt for password when creating keystore.
-o file
Output file (used with show).
-h, --help
Display help.
-s, --silent
Show minimal output.
-v, --verbose
Show verbose output.

SUBCOMMANDS

create

Create a new keystore.
list
List entries in keystore.
add
Add setting (prompts for value).
add-file
Add setting from file.
remove
Remove setting.
show
Display setting value.
has-passwd
Check if keystore is password-protected.
upgrade
Upgrade keystore format.
passwd
Change keystore password.

SEE ALSO

Copied to clipboard
Kai