More Info:

TDE with Customer-managed key support provides increased transparency and control over the TDE Protector, increased security with an HSM-backed external service, and promotion of separation of duties. With TDE, data is encrypted at rest with a symmetric key (called the database encryption key) stored in the database or data warehouse distribution. To protect this data encryption key (DEK) in the past, only a certificate that the Azure SQL Service managed could be used. Now, with Customer-managed key support for TDE, the DEK can be protected with an asymmetric key that is stored in the Key Vault. Key Vault is a highly available and scalable cloud-based key store which offers central key management, leverages FIPS 140-2 Level 2 validated hardware security modules (HSMs), and allows separation of management of keys and data, for additional security.

Risk Level

Medium

Address

Security

Compliance Standards

CISAZURE, CBP, SOC2, NISTCSF, PCIDSS

Triage and Remediation

Remediation

To remediate the misconfiguration “Ensure SQL Server TDE Protector Is Encrypted With CMK” in Azure, follow the below steps:

  1. Open the Azure portal and navigate to the Azure SQL database that you want to remediate.

  2. Click on the “Transparent data encryption” option under the Security section on the left-hand side menu.

  3. In the “Transparent data encryption” blade, check if the “TDE Protector” is set to “Service Managed”. If it is set to “Service Managed”, then it means that the TDE protector is not encrypted with a customer-managed key (CMK).

  4. To encrypt the TDE protector with a CMK, click on the “Set” button next to the “TDE Protector” option.

  5. In the “Set TDE Protector” blade, select the “Customer-managed key” option and choose the CMK that you want to use to encrypt the TDE protector.

  6. Click on the “Save” button to save the changes.

  7. Once the changes are saved, the TDE protector will be encrypted with the selected CMK.

  8. Verify the remediation by checking the “Transparent data encryption” blade again and ensure that the “TDE Protector” is now set to “Customer-managed key”.

By following these steps, you can remediate the misconfiguration “Ensure SQL Server TDE Protector Is Encrypted With CMK” in Azure using the Azure console.

Additional Reading: