Opensearch dashboards initial password docs update 2.12 +

installed 2.15.0 on k8s using helm
Dashboards docs need initial password config update

Below is updated and accurate

For OpenSearch 2.12 or greater, customize the admin password in values.yaml under extraEnvs , as shown in the following example:

opensearch/helm-charts/charts/opensearch
extraEnvs:

  • name: OPENSEARCH_INITIAL_ADMIN_PASSWORD
    value: “Strong1pass!”

Below needs update

opensearch/helm-charts/charts/opensearch-dashboards/values.yaml
opensearchHosts: “https://opensearch-cluster-master:9200
opensearchUsername: “admin”
opensearchPassword: “Strong1pass!”


opensearch logs will show strongpass is required

Password admin! failed validation: “Password is too short”. Please re-try with a minimum 8 character password and must contain at least one uppercase letter, one lowercase letter, one digit, and one special character that is strong. Password strength can be tested here: zxcvbn tests

Hi @infodata,

the username is admin and the password is whatever you set as OPENSEARCH_INITIAL_ADMIN_PASSWORD in your env variables when you were deploying.

Hope that helps.
Let me know if any further questions.

Best,
mj

this needs docs update of pass to make it work