Sage-Bionetworks / sage-monorepo

Where OpenChallenges, Schematic, and other Sage open source apps are built
https://sage-bionetworks.github.io/sage-monorepo/
Apache License 2.0
21 stars 12 forks source link

[Feature] Configure the credentials of Elasticsearch #2725

Open tschaffter opened 5 days ago

tschaffter commented 5 days ago

What product(s) is this feature for?

OpenChallenges

Description

Enable to configure the username and password of Elasticsearch. These credentials are included in the config of the challenge service and organization service.

cc: @zaro0508

Anything else?

No response

Code of Conduct

tschaffter commented 5 days ago

It doesn't look like the challenge and org services are using one of the built-in users for the version of ES we are using...

https://www.elastic.co/guide/en/elasticsearch/reference/7.17/built-in-users.html

tschaffter commented 5 days ago

In Elasticsearch 7.17, authentication and authorization are not enabled by default. However, security features, including authentication and role-based access control (RBAC), are included and can be enabled if you have a license that supports these features (Basic license or higher).

xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.enabled: true