Disable security

    A more permanent option is to remove the security plugin entirely:

    1. Delete all plugins.security.* configuration entries from opensearch.yml.

    To perform these steps on the Docker image, see Customize the Docker image.

    The security plugin is actually two plugins: one for OpenSearch and one for OpenSearch Dashboards. You can use the OpenSearch plugin independently, but the OpenSearch Dashboards plugin depends on a secured OpenSearch cluster.

    If you disable the security plugin in opensearch.yml (or delete the plugin entirely) and still want to use OpenSearch Dashboards, you must remove the corresponding OpenSearch Dashboards plugin. For more information, see .

    1. In this case, opensearch_dashboards.yml is a “vanilla” version of the file with no entries for the security plugin. It might look like this:

    2. Change or opensearch.hosts to http:// rather than https://.