Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
used OpenSearch helm chart to installation -github.com/opensearch-project/helm-charts
Describe the issue:
I am unable to reset admin user passwords i have updated the yaml file of OpenSearch and modified this part as well
securityConfig: enabled: true path: "/usr/share/opensearch/config/opensearch-security" actionGroupsSecret: configSecret: internalUsersSecret: rolesSecret: rolesMappingSecret: tenantsSecret: # The following option simplifies securityConfig by using a single secret and # specifying the config files as keys in the secret instead of creating # different secrets for for each config file. # Note that this is an alternative to the individual secret configuration # above and shouldn't be used if the above secrets are used. config: # There are multiple ways to define the configuration here: # * If you define anything under data, the chart will automatically create # a secret and mount it. This is best option to choose if you want to override all the # existing yml files at once. # * If you define securityConfigSecret, the chart will assume this secret is # created externally and mount it. This is best option to choose if your intention is to # only update a single yml file. # * It is an error to define both data and securityConfigSecret. securityConfigSecret: "" dataComplete: true data: internal_users.yml: |- _meta: type: "internalusers" config_version: 2 admin: hash: "$2y$12$XDdc42zlZ.DhOj44X5zT.OnSxjGj5v7MEUllUG1euFG3wDp/AUGy2" reserved: false backend_roles: - "admin" description: "Demo admin user" kibanaserver: hash: "$2y$12$XDdc42zlZ.DhOj44X5zT.OnSxjGj5v7MEUllUG1euFG3wDp/AUGy2" reserved: false description: "Demo OpenSearch Dashboards user"
Still unable to changes it .
I tried to do from OpenSearch dashboard there i am getting error “failed to reset password . forbidden Resource admin is read-only”
** Please need you help **