Not able to login to OpenSearch Dashboard UI

Hi ,

We have installed OpenSearch and OpenSearch Dashboard on kubernetes using helm chart <Opensearch-dashboards-1.2.1.tgz> .

Also created secret using below command and set in the value.yaml (opensearchAccount.secret: opensearchsecret ) of OpenSearch Dashboard
kubectl create secret generic opensearchsecret --from-literal=username=“opensearch” --from-literal=password=“opensearch” --from-literal=cookie=“cookie” -ncheck

However , we are getting authentication failed in OpenSearch Dashboard login page.

Is it a right way to configure ?

Hi ,
We have followed all steps mentioned for tls enabled and provided certificate .
On login we are getting below authentication failed error:

{“type”:“log”,“@timestamp”:“2022-02-17T13:19:53Z”,“tags”:[“error”,“plugins”,“securityDashboards”],“pid”:1,“message”:“Failed authentication: Error: [index_not_found_exception] no such index [_plugins], with { resource.type="index_expression" &"_plugins" & index_uuid="na" & index="_plugins" }”}

":“POST /auth/login 401 8ms - 9.0B”}

Does anyone know why i am getting this error?