---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# MID Server configuration file security

# MID Server configuration file security {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Sensitive MID Server configuration data can be protected using several different
schemes, including internal and external data encryption and external data storage.

|-|
|   |
[ ]

{#mid-server-encrypter-api__table_vbn_2v4_nhb} The MID Server uses one secured configuration provider at a time. You can use either the default security provider or CyberArk as the secured configuration provider. Mixed provider configurations are not supported. For example, you cannot use the default security provider together with CyberArk. The following built-in security options are available:

* Default security provider: Secures the data in the config.xml file by encryption. When the MID Server is restarted, any unencrypted data is encrypted and written to the config.xml file. The default security provider offers these encryption options:
  * Default encryptor: Default process for encrypting data in the MID Server config.xml file. See [Encrypt or decrypt MID Server configuration file values](https://servicenow-prod.fluidtopics.net/Qxlwv2sniasrS9J61qYxGw "The value of any MID Server parameter in the config.xml file can be encrypted. The attributes for all encrypted values are managed from within the configuration file, including the security attribute of the login password.") for details.
  * Windows Data Protection API (DPAPI): The operating system performs the data encryption, rather than the MID Server. DPAPI encryption is based on the logged in user's account. When this scheme is used, the data can only be decrypted by the same user account. If the account changes, the data must be re-encrypted. {#mid-server-encrypter-api__ph_dpapi-explaination}
  * Custom encryption: Implement the [IMidServerEncrypter interface](https://servicenow-prod.fluidtopics.net/JkxFP9BFyI22ShYr0nHDhA "Use the methods in this interface to create a custom external encrypter for the MID Server config.xml file.") to create your own custom encryption scheme to manage sensitive config.xml data.
  {#mid-server-encrypter-api__ul_xsq_5wx_4bb}
* CyberArk: Data security is provided by [CyberArk integration configuration](https://www.servicenow.com/docs/access?context=c_CyberArkIntegrationConfiguration&version=brazil&pubname=brazil-platform-security&ft:locale=en-US), which moves sensitive data from the config.xml file to a secure CyberArk vault. This solution does not encrypt the data and does not use the IMidServerEncrypter interface.
* Custom external storage: Implement the [ISecuredConfigProvider interface](https://servicenow-prod.fluidtopics.net/wWpAq0N3zkmVDqBlDJ7Zkw "Use the methods in this interface to create custom providers that manage secured parameter values in the MID Server config.xml file.") to create your own custom external storage system to manage sensitive config.xml data.

{#mid-server-encrypter-api__ul_mqg_n4q_x1b} Figure 1. Secured content and encryption schemes
* **[Encrypt MID Server configuration data with DPAPI](https://servicenow-prod.fluidtopics.net/4~hec0vYdfxU7p4hS2evuw)**   
  Windows Data Protection API (DPAPI) encrypts sensitive data from the config.xml file, based on the MID Server user account.
* **[Use CyberArk as a secure configuration provider](https://servicenow-prod.fluidtopics.net/Tz7Q_Y3sKjDAgKx5~QLBGw)**   
  You can use a CyberArk vault to secure any sensitive data from the MID Server config.xml file.
* **[Change MID Server configuration file security schemes](https://servicenow-prod.fluidtopics.net/9XCmBj1BlRrTUkxeNa8Tyw)**   
  A MID Server security scheme is the method the MID Server uses to protect sensitive values stored in its config.xml file (for example, the instance password). The scheme defines how those values are encrypted and where the encryption key is stored.
* **[MID Server ISecuredConfigProvider interface](https://servicenow-prod.fluidtopics.net/wWpAq0N3zkmVDqBlDJ7Zkw)**   
  Use the methods in this interface to create custom providers that manage secured parameter values in the MID Server config.xml file.
* **[MID Server IMidServerEncrypter interface](https://servicenow-prod.fluidtopics.net/JkxFP9BFyI22ShYr0nHDhA)**   
  Use the methods in this interface to create a custom external encrypter for the MID Server config.xml file.

**Related concepts**   

* [MID Server certificate check policies](https://servicenow-prod.fluidtopics.net/kt_UvWhq81MUejjA6BN9Xg "MID Server uses four kinds of security checks to secure external traffic. The security checks use TLS/SSL certificate validation, hostname validation, Certificate Revocation List (CRL), and Online Certificate Status Protocol (OCSP) validation to improve security. Control these security checks with the MID Server certificate check policies table.")
* [MID Server authentication methods comparison](https://servicenow-prod.fluidtopics.net/PEMk5upii5aIhj3S49hSaQ "The MID Server can authenticate to your instance using basic authentication, mTLS, or IPKI methods. The methods differ in what the MID Server presents, who issues and manages the certificate, and how access is revoked.")
* [MID Server authentication credentials and SOAP requests](https://servicenow-prod.fluidtopics.net/9wvetsJqs56G~Q~aW0Htdg#mid-authentication-soap-requests "Set basic authentication credentials to update the web service invocation data. For added security, you can enforce basic authentication on each incoming SOAP request to the MID Server.")
* [MID Server unified key store](https://servicenow-prod.fluidtopics.net/IIggrAjdtsLOp00Maw5dVg#mid-unified-keystore "The MID Server unified key store allows all products on the MID Server to use common certificates and key pairs. This feature allows applications to use the same secure communication channel to the MID Server that the MID Server uses to connect to the instance.")
* [MID Server Azure Key Vault integration](https://servicenow-prod.fluidtopics.net/M9ieIpTkQhQdg2oNut_JVQ#mid_azure_key_vault_integration "The MID Server supports three authentication methods to retrieve credentials from Azure Key Vault without storing secrets on the instance.")
* [MID Server command audit log](https://servicenow-prod.fluidtopics.net/EMXPRl6CVActj8Gxjhvhsg#mid-audit-log "The command audit log records the commands run by the MID Server for the Discovery application. Review the commands to verify there are no anomalies or errors.")
* [MID Server FIPS Enforced Mode](https://servicenow-prod.fluidtopics.net/30QFWCTwwmrY11lS4oxyEA#mid-fips-enforced "The MID Server supports the National Security Cloud (NSC) IL-5 environment, which requires all utilized cryptography to be FIPS validated. The MID server can be run in FIPS Enforced Mode, where only cryptographic algorithms which are FIPS validated are utilized.")
* [MID Server Governance](https://servicenow-prod.fluidtopics.net/QrJ47mqH2Xt60PORd8wg5g "Improve MID Server security by setting an automatic timeout to invalidate and shut down inactive MID Servers. You can enable this feature and set the inactivity timeout period globally and for each MID Server.")
* [MID Server IPKI authentication](https://servicenow-prod.fluidtopics.net/1Kxkyuj3fB7eWGYCbyyAyA "Instance PKI (IPKI) lets a MID Server authenticate to its instance using a JSON Web Token (JWT) signed by an instance-issued certificate. Use IPKI when you want to authenticate MID Servers with certificates that the instance issues.")  
**Related tasks**   

* [Encrypt or decrypt MID Server configuration file values](https://servicenow-prod.fluidtopics.net/Qxlwv2sniasrS9J61qYxGw "The value of any MID Server parameter in the config.xml file can be encrypted. The attributes for all encrypted values are managed from within the configuration file, including the security attribute of the login password.")
* [Enable MID Server mutual authentication](https://servicenow-prod.fluidtopics.net/lW8fW_WjxbvJ40wq7z3~GA "Configure the MID Server to use a client certificate for authenticating to the instance. This avoids the need to create a basic authentication credentials in the Key Store for the MID Server's configuration.")
* [Rekey a MID Server](https://servicenow-prod.fluidtopics.net/qZQ2XBnDjEoIwy6~F0zOQA "Rekey a MID Server to generate a new private key. Private keys are used to decrypt automation credentials, so that MID Servers can transmit information securely. Key pairs are initially generated when a MID Server is validated, and MID Servers should be rekeyed periodically to meet security requirements.")
* [Add SSL certificates for the MID Server](https://servicenow-prod.fluidtopics.net/QOsQFUZoAYRrFyr2~2UDOg#add-ssl-certificates "Configure the MID Server to connect to a source over SSL.")
* [Attach a script file to a file synchronized MID Server](https://servicenow-prod.fluidtopics.net/zB1jO4DdnnKCNeKatnsLTQ#mid-server-script-attach "You can attach a script file to synchronize to a connected MID Server. Windows Internet Explorer enhanced security blocks downloaded files that it determines are potentially dangerous. However synchronizing the files avoids this security problem.")  
**Related reference**   

* [MID Server SSH cryptographic algorithms](https://servicenow-prod.fluidtopics.net/Dhad9OhghZGQbkbrb43rXA "The MID Server utilizes SSH clients to perform many discovery actions. During the SSH handshake, both the client and server first determine which algorithms both parties support, then client picks the highest priority algorithm. For the Host Key Algorithm, the client picks highest priority algorithm which both parties support that matches the key type.")

