# elasticsearch-syskeygen > Create a system key file in the Elasticsearch configuration directory. > More information: . - Generate the `system_key` file in the default `$ES_HOME/config` directory: `elasticsearch-syskeygen`