'application-mas.yml' Profile File
The application-mas.yml profile file contains parameters for accessing Microsoft Exchange Online and storage parameters. The profile is assigned to the services of enaio® mail-archive-service in the servicewatcher-sw.yml file.
The profile file is available for download as a template and must be saved in the \config\ directory of enaio® service-manager.
Parameter |
Type |
Description |
For example |
Default |
---|---|---|---|---|
mas.exchange-online.access.client-id |
String |
Client ID of the Azure portal. The client ID should be encrypted. |
- | |
mas.exchange-online.access.tenant-id |
String |
Tenant ID of the Azure portal. The tenant ID should be encrypted. |
|
- |
mas.exchange-online.access.secret |
String |
Client secret of the Azure portal. The client secret should be encrypted. |
|
- |
mas.mailbox-related-storage.folder-name-config.domains | String |
Specifies the domains from which e-mail addresses are used to create reference documents. The specified domains must exist in AD, otherwise the health check will result in an error. Multiple domains are specified using comma separation. If no domains are specified, then no reference documents will be created. |
devtest.de,test-syst.com | - |
mas.mailbox-related-storage.folder-name-config.property | String |
Specifies which data from the user management of an Office 365 Active Directory is used as the value for folder indexing reference documents. Values:
An error is logged and the e-mail address is used if the data is not available. |
DISPLAY_NAME | USERNAME |
monitoring.trace.enabled | Boolean | Activates the metrics log for all MAS services. | true | false |
Encryption of Configuration Values
The configuration values of the application-mas.yml file for the \config\ directory of enaio® service-manager can 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 round brackets and enter it into 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