Change Opensearch Admin password
It cannot be modified in the dashboard, and must be modified only with a script.
cd /usr/share/opensearch/plugins/opensearch-security/tools
./hash.sh -p <new_password>
# example - output
sh-5.2$ ./hash.sh -p dhvmstjcl!
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755 **
**************************************************************************
$2y$12$8CL1a9FLy1JwNe5q6yudZuTtzs/9.hkxvk1WnInwOV16JV3P3RoC6// Some code./securityadmin.sh -backup my-backup-directory \
-icl \
-nhnv \
-cacert ../../../config/admin/ca.crt \
-cert ../../../config/admin/tls.crt \
-key ../../../config/admin/tls.keyLast updated