# Opensearch - Dashboards and Cluster Authorization

**URL:** <https://forum.opensearch.org/t/opensearch-dashboards-and-cluster-authorization/27679>\
**Category:** OpenSearch Dashboards\
**Created:** [January 7, 2026, 3:02pm UTC](https://forum.opensearch.org/t/opensearch-dashboards-and-cluster-authorization/27679 "2026-01-07T15:02:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clearuf](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@clearuf](https://forum.opensearch.org/u/clearuf)\
**Post date:** [January 7, 2026, 3:02pm UTC](https://forum.opensearch.org/t/opensearch-dashboards-and-cluster-authorization/27679/1 "2026-01-07T15:02:25Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):

Opensearch 3.4

**Describe the issue** :

Since I have used unsafe initial password for admin. I had to change it.

What I did so far

1. Change initial password for user admin in `internal_users.yml`
2. Run `securityadmin.sh` to apply the changes

Password was changed successfully.

But now the connection between Dashboards and Opensearch-Cluster do not work anymore. For sure because of `opensearch.username` and `opensearch.password` defined as “admin” in `opensearch-dashboards.yml`

> [opensearch-node1] Authentication finally failed for admin from 172.18.0.2:59294

So I can’t believe I should put the secure admin password in clear text in `opensearch-dashboards.yml` I wanted first ask you guys what I’m missing here.

**Configuration** :

```yaml
-- internal_users.yml

_meta:
  type: "internalusers"
  config_version: 2

admin:
  # initial pw
  hash: "$2y$12$..."
  reserved: true
  backend_roles:
    - "admin"
  description: "Admin user"

viewer:
  # initial pw
  hash: "$2y$12$..."
  backend_roles:
    - "viewer"
  description: "Read-only user"

```

```yaml
-- opensearch-dashboards.yml

server.name: os_dashboards
server.host: "0.0.0.0"

opensearch.username: "admin"
opensearch.password: "admin"

# Encrypt traffic between OpenSearch-Dashboards and Opensearch
opensearch.ssl.certificate: "/usr/share/opensearch-dashboards/config/certificates/os-dashboards/os-dashboards-client.pem"
opensearch.ssl.key: "/usr/share/opensearch-dashboards/config/certificates/os-dashboards/os-dashboards-client.key"
opensearch.ssl.certificateAuthorities: ["/usr/share/opensearch-dashboards/config/certificates/ca/ca.pem"]
opensearch.ssl.verificationMode: full

#
# Browser <-> Opensearch-Dashboards
# using nginx and let'sencrypt
#
server.ssl.enabled: false

# OpenSearch Dashboards 3.x new features
data_source.enabled: true
workspace.enabled: true
explore.enabled: true

```

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [January 8, 2026, 9:12am UTC](https://forum.opensearch.org/t/opensearch-dashboards-and-cluster-authorization/27679/2 "2026-01-08T09:12:14Z")

</div>

Hi @clearuf. By default OpenSearch Dashboards is using kibanaserver user which has enough permissions to connect OSD to OS. The admin user has too wide permissions.
