cloud-bulldozer / benchmark-wrapper

Python Library to run benchmarks
https://benchmark-wrapper.readthedocs.io
Apache License 2.0
19 stars 56 forks source link

Elasticsearch: credential authentication #400

Closed ebattat closed 2 years ago

ebattat commented 2 years ago

The current status is that ElasticSearcn is not under authentication (user+password). Is there option to add authentication(user+password) for the elsticsearch url ?

jtaleric commented 2 years ago

The current status is that ElasticSearcn is not under authentication (user+password). Is there option to add authentication(user+password) for the elsticsearch url ?

@ebattat why do you think it is not under authentication? Today we accept a ES URL, which can have the user/pass passed. Most of our servers (minus the public ones) use authentication for read/write to ES.

'http://<username>:<password>@<host>'

ebattat commented 2 years ago

@jtaleric. Thx for your fast replay. Can I use also https instead http ?

jtaleric commented 2 years ago

yes? why wouldn’t you be able to assuming your server supports https.

ebattat commented 2 years ago

@jtaleric, last query before closing, Did benchmark-wrapper handle https certificate or verify_certs=False ?

jtaleric commented 2 years ago

@jtaleric, last query before closing, Did benchmark-wrapper handle https certificate or verify_certs=False ?

https://github.com/cloud-bulldozer/benchmark-wrapper/blob/master/snafu/run_snafu.py#L94-L100