Configuration Files for Services

enaio® 12.0 »

The configuration files for the services are located in the \config\ directory of enaio® service-manager.

The files can contain security-relevant values, such as passwords and user names.

These values can and should be encrypted:

  • Open the command prompt as the administrator and change to the \service-manager\tools\encryption\ directory.

  • Run the following command: encode.bat "value" -W.

    The encrypted value is displayed in round brackets with 'ENC' before it: ENC(encryptedvalue).

  • Copy the encrypted value with the leading 'ENC' and using parentheses and enter it in quotation marks in the configuration file.

  • Save the configuration and restart the service, if necessary.

If the value to be encrypted contains quotation marks or ends with a backslash, these characters must be preceded by the backslash.
Example: encode.bat "passwordwith\"quotation\"marks" -W

Configuration Data of the Services

enaio® services-admin usually masks sensitive values from service configuration files, such as passwords. The masked data cannot be edited.

Further values, which will then also be shown masked in enaio® services-admin, can be specified via the application-prod.yml configuration file located in the \config\ directory of enaio® service-manager:

management.endpoint.additionalKeysToSanitize: "key-to-sanitize1, key-to-sanitize2"

Masking values can also be specified in the service-specific configuration files. These entries overwrite the entries in application-prod.yml.