You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed the instruction at https://github.com/jolicode/elastically#configuration-1 to configure the bundle (though I wish it had a recipe to add the bundle and such), but the sample code fails with an error 52, I assume because it's not authenticated
How do I configure authentication in the .env file? I tried this, but it doesn't work.
Since elastically is based upon ruflin/elastica library, we do support the same configuration schemes.
For a username/password authentication, you can use the same as Elastica: ruflin/Elastica#1030
Sadly, in your case, I do not see them implementing this in the DSN configuration section. So will you have to declare the configuration in separate env vars, here is an example:
I've installed the docker version of OpenSearch, which appears to require authentication.
https://opensearch.org/docs/1.2/#docker-quickstart
So this works as expected:
I've followed the instruction at https://github.com/jolicode/elastically#configuration-1 to configure the bundle (though I wish it had a recipe to add the bundle and such), but the sample code fails with an error 52, I assume because it's not authenticated
How do I configure authentication in the .env file? I tried this, but it doesn't work.
I've also tried tweaking the .yaml
This is probably related to #112
The text was updated successfully, but these errors were encountered: