I want to use reactivesearch without any appbase.io, but with a self-hosted dockerized Elasticsearch.
Elasticsearch 8.x seems to have a new concept of authorization. I've installed ES and Kibana via docker regarding this security measures. Then, I created an API Key. I'm having no problems calling ES API with curl or Postman now, great!
But, regarding these reactivesearch docs, connecting my VueJS ReactiveSearch App directly with ES is done with these lines:
<template>
<div id="app">
<reactive-base
url="https://localhost:9200"
app="data1"
credentials="Authorization:ApiKey <Hashed API Key>"
enableAppbase="false"
>
<h1>Hello from ReactiveBase </h1>
</reactive-base>
</div>
</template>
url should be my ES Cluster URL
app should be the index
credentials is unclear to me
As you see, I tried to put the API Authrorization in there. The documentation seems to suggest, that it should be "username:password". The app itself renders nothing and returns a blank page. So, no debugging possible.
Any ideas how to authorize ReactiveBase against a self-hosted docker ElasticSearch?