Skip to content

OpenSearch 2.12.0 onwards, the OpenSearch Security Plugin a change that requires an initial password for 'admin' user. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aborroy opened this issue May 7, 2024 · 0 comments

Comments

@aborroy
Copy link

aborroy commented May 7, 2024

Since you are using "latest" tag for OpenSearch Docker Images, running this sample today fails (2.13.0 is picked as current version)

You may add an environment variable like the following one to opensearch containers:

      - OPENSEARCH_INITIAL_ADMIN_PASSWORD=Sease.io.2024

Note that this requires also to update the Postman Collection with Basic Auth credentials

Or you may disable security plugin in opensearch containers by adding following line:

    - DISABLE_SECURITY_PLUGIN=true

Also disabling security is required for OpenSearch Dashboard container adding this environment variable:

      DISABLE_SECURITY_DASHBOARDS_PLUGIN: true

And changing protocol from https to http for OPENSEARCH_HOSTS

Thanks for this awesome tutorial!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant