To connect to an Elasticsearch with basic authentication you will need to encrypt your password and add the right values to the configuration.
Follow the next steps:
In a terminal run, in Saga's root folder.
java -jar bin/saga-secure-<version>.jar -ep=<password> -config="config/config.json"
Update "providers"
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
Update "solutions"
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
If you are using Saga within Aspire you will need to:
Update the Saga's config file (the one within the Aspire configuration folder) to reflect the relative path of those files: $action.getHelper().renderConfluenceMacro("$codeS$body$codeE")