You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To connect to an Elasticsearch with basic authentication you will need to encrypt your password and add the right values to the configuration.

Step-by-step guide

Follow the next steps:

  1. Encrypt the password.
    1. Locate on <saga>/bin the file saga-secure-<version>.jar
    2. In a terminal run, in Saga's root folder.

      Console / Terminal / Command
      java -jar bin/saga-secure-<version>.jar -ep=<password> -config="config/config.json"
    3. Keep the generated pwd.txt file at hand, you'll need to reference it in the configuration.
  2. Update the configuration in <saga>/config/config.json.
    1. Update "providers" $action.getHelper().renderConfluenceMacro("$codeS$body$codeE")

      1. Notice the values of "user" and "password".
    2. Update "solutions" $action.getHelper().renderConfluenceMacro("$codeS$body$codeE")

      1. Again notice the values of "user" and "password".

Aspire Saga Parser

If you are using Saga within Aspire you will need to:

  1. Copy Saga's encryption key file to <aspire>/bin/
  2. Copy pwd.txt to <aspire>/bin/ as well.
  3. 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")

    1. Notice the values of "encryptionKeyFile" and "password".

  • No labels