Updating OpenSearch and OpenSearch Dashboards password

You can update the OpenSearch Dashboard password.

About this task

The default OpenSearch and OpenSearch Dashboards usrename is set to admin. To change the default username and password, you can update the values.yaml file or use the --set flags during Helm installation.

Procedure

To change the default username and password, you can update the values.yaml file or use the --set flags during Helm installation. To update the default username and password using --set flags with Helm:
  • Modify the values.yaml file:
      opensearch:
        username: [USERNAME]
        password: [PASSWORD]
  • To update the default username and password using --set flags with Helm:
    --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