Adding Authentication Tokens for Policy Updates
Provide authorization tokens to be used in requests from the Disarmer engine for Policy updates in the Management Platform.
Open the webapi.xml configuration file that is located in
[installation_path]\Votiro\SDS Web Service\config.
Edit <WebApiServerConfig> as follows:
| 1. | Ensure that NamedPolicyFolderPath is set to "" (empty). |
| 2. | Point NamedPolicyServerUri to the Management server. Use the syntax: https://[hostname]:[portnumber], where hostname represents a fully qualified hostname. |
| 3. | Ensure that the AuthToken is set to the same value specified for <AuthorizedTokens> and <ClientToken> in <appSettings> of the configuration files in the Management platform. |
| 4. | Ensure that the UnknownPolicyHandling is set to "Block" or "Reject". |
| t | When set to "Block" the request is processed, then blocked. |
| t | When set to "Reject" the API does not process the request. |
| 5. | Ensure that an UnknownPolicyBlockMessage is defined (use the default message or create a customized message). |
| 6. | Set the NamedPolicyServerUri to "https://my_management_server:7070". |
Example
<WebApiServerConfig
NamedPolicyFolderPath=""
NamedPolicyServerUri="https://my_management_server:7070"
AuthToken="30acc6eb-16d9-4133-ae43-0f5b6d40a318"
UnknownPolicyHandling="Block"
UnknownPolicyBlockMessage="File was blocked due to an
error in Policy process. Please contact your system
administrator."/>
Editing API Authorization Token
To enable and edit the API Authorization Token:
| 1. | Open the webapi.xml configuration file that is located in [installation_path]\Votiro\SDS Web Service\config. |
| 2. | Add SdsApiToken = <yourToken>. |
| 3. | Configure your connector: |
| a. | Reference client: -key <yourToken>. |
| b. | File Connector / Email Conector: update CloudApiKey parameter with the generated token. |
| c. | With PostMan: add “Ocp-Apim-Subscription-Key” header key and the generated token as the value. |
Comments
0 comments
Please sign in to leave a comment.