Remediation
From Azure Consoleβ
- Go to
SQL servers. - For each SQL server, under
Security, clickTransparent data encryption. - Set
Transparent data encryptiontoCustomer-managed key. - Select a key or enter a key identifier.
- Check
Make this key the default TDE protector. - Click
Save.
From Azure CLIβ
Use the below command to encrypt SQL server's TDE protector with a Customer-managed key:
az sql server tde-key set --resource-group <resourceName> --server <dbServerName> --server-key-type {AzureKeyVault} --kid <keyIdentifier>
From PowerShellβ
Use the below command to encrypt SQL server's TDE protector with a Customer-managed Key Vault key:
Set-AzSqlServerTransparentDataEncryptionProtector -Type AzureKeyVault -KeyId <KeyIdentifier> -ServerName <ServerName> -ResourceGroupName <ResourceGroupName>
Select Y when prompted.