Closed ghost closed 3 years ago
I've been using elasticsearch for about 7 years and never heard of anyone using a username and password.
Can you provide a link to the elastic docs?
We manage many elasticsearch clusters and they are all protected by authentication.
The possible solutions for elasticsearch authentication are:
In my case, I would like to import osm data to an elaasticsearch as a service, provided by elastic: https://www.elastic.co/cloud/
Hi @bquartier,
You can configure a username and passsword in pelias.json
, in the esclient
property, which also supports any of the other configuration options of the (legacy) elasticsearch-js
module: https://github.com/pelias/documentation/blob/master/pelias_from_scratch.md#where-on-the-network-to-find-elasticsearch
Oh boy, looks like Elastic has made it really hard to find the docs that we used to link to on that page.
Let me know if the following config options work for you: https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/16.x/_basic_auth.html
It works, thank you!
:)
Hi,
I want to import osm data to an existing Elasticsearch protected by a username and password. However, I cannot find any option key to provide the credential.
Is it possible to import osm data to an authenticated Elasticsearch? If yes, how? If now, is it planned?