Manage secured Elasticsearch
With new Elasticsearch releases: 8 and on, security is active by default on the cluster:
- User authentication
- TLS with mutual auth between Elasticsearch nodes
In order to be ready to use it, I upgraded all microservices using Elasticsearch to support all authentication methodes supported by ES Javascript client. Everything is managed by the central setup, that expect Elasticsearch setup to required authentication.
TLS may also be used to connect to Elasticsearch, with self signed certificates if needed.