Configuration Files for Services
The configuration files of the services are located in the \config directory of enaio® service-manager.
The files may 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 with the parentheses and enter it into the configuration file enclosed in quotation marks.
-
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 for Services
enaio® services-admin usually displays sensitive values from service configuration files in masked form, such as passwords. The masked data cannot be edited.
The configuration file application-prod.yml from the \config\ directory of enaio® service-manager can be used to specify additional values, which are then also displayed masked in enaio® services-admin:
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.
areas. Use the toolbar to show all hidden areas at once:
