Open regisoc opened 5 years ago
New functionality required here. I doubt that it'd take much effort to pass the authentication details through to ES (via the httpr
commands), but there is probably a small amount of design work required, too.
I think there is a workaround: set the authentication in the global httr
config? It's not ideal if you're using httr
elsewhere, but if elasticsearch is the only connection being made it will work ok:
httr::set_config(authenticate("elastic","changeme"))
elastic("https://localhost:9200", "mpg") %index% mpg
We cannot connect to a secure ES.
To reproduce:
Result: