Change admin credentials

** On behalf of a user of Slack **

“HI All ,
We installed opensearch for POC in our docker envronment but we are currently stuck on changing default admin admin credentials .we find some documentation about it but unable to execute .ANy easy way to get rid of default account ?”

Hi Faraz,

Could you share the documentation you were following and elaborate on what part you were unable to execute?

Thanks,
mj

You can change your passwords in internal_users.yml please see here: YAML files - OpenSearch documentation

To apply changes see here: Apply changes with securityadmin.sh - OpenSearch documentation

NOTE: make sure to backup your config files before and after applying changes as all changes will be overridden according to the config files.