Updating OpenSearch and OpenSearch Dashboards password

You can update the OpenSearch Dashboard password.

About this task

The default OpenSearch Dashboards usrename is set to admin and the password is set through the secret hash value during the Helm installation. You can retrieve the default password value by running the helm status command.

Procedure

  1. To update the default username nad password, you must add the following during the help install or upgrade:
    --set opensearch.username=<OPRNSEARCH_USERNAME>
    --set opensearch.password=< OPRNSEARCH_PASSWORD>
    The password must:
    • Be a minimum of 8 characters
    • Include at least one uppercase letter
    • Include at least one lowercase letter
    • Include at least one digit
    • Include at least one special character
  2. If you plan to performing a rolling upgrade from version 3.0.2 to version 3.0.3, you must update the OpenSearch password in Version 3.0.2 and then upgrade to the 3.0.3 release. For more information, see Case 3 in Performing Rolling Upgrades to DevOps Plan Helm Chart.