I’m new to open distro for elasticsearch and trying to run it on the Kubernetes cluster. After deploying the cluster, I need to change the password for admin user.
I went through this post - default-password-reset
I came to know that, to change the password I need to do the following steps:
-
execin one of the master nodes - generate a hash for the new password using
/usr/share/elasticsearch/plugins/opendistro_security/tools/hash.shscript - update
/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.ymlwith the new hash - run
/usr/share/elasticsearch/plugins/opendistro_security/tools/securityadmin.shwith parameters
Questions:
- Is there any way to set those (via
envorelasticsearch.yml) during bootstrapping the cluster?