Configure ElasticSearch API key in Optimize

Hello,
Can we use ElasticSearch API key instead of username password in Optimize?
Is there any example of this.

Thanks,
Hrishi

Hi @hrishi_joshi,

have a look at the ElasticSearch header configuration plugin: Elasticsearch header | Camunda Platform 8

Hope this helps, Ingo

Hi @Ingo_Richtsmeier,
Thanks for sharing the link.
Is this applicable for 7 also?
I went through the documentation, it seems we need to inject the plugin in Optimize.
I am using Optimize docker image, is it possible to just add the plugin jar there.

Hi @hrishi_joshi,

Yes it is.

Yes. create your own Dockerfile from the provided image and copy the compiled jar into the container.

Hope this helps, Ingo

Thanks @Ingo_Richtsmeier .
I will try this out.