Encrypt sensible configuration data in repository.cfg file
Using the keystore service, sensible configuration information can be stored savely as a secret in the keystore vault file.
For more information, please see Set up a KeyStore (tC) .
Example:
To import a secret referenced by alias MySecret
" (you may want to use a different alias name) into the keystore value file execute this command:
keytool -importpass -storetype pkcs12 -alias MySecret -keystore <Keystorename> -storepass <keystorepassword>
Reference this secret in repository.cfg
file like this:
repo1.protocolservice.elastic.authentication.credentials:elasticuser,MySecret