WARNING: Version 6.2 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
syskeygen command creates a system key file in
bin/x-pack/syskeygen [-E <KeyValuePair>] [-h, --help] ([-s, --silent] | [-v, --verbose])
The command generates a
system_key file, which you can use to symmetrically
encrypt sensitive data. For example, you can use this key to prevent Watcher
from returning and storing information that contains clear text credentials. See Encrypting sensitive data in Watcher.
The system key is a symmetric key, so the same key must be used on every node in the cluster.
Configures a setting. For example, if you have a custom
installation of Elasticsearch, you can use this parameter to specify the
- Returns all of the command parameters.
- Shows minimal output.
- Shows verbose output.
The following command generates a
system_key file in the