SV-276289r1149776_rule
V-276289
SRG-APP-000231-DB-000154
MSQL-D0-001800
CAT II
10
Document and implement procedures to safely back up and store the certificate used for encryption. Include in the procedures methods to establish evidence of backup and storage, and careful, restricted access and restoration of the Certificate. Also, include provisions to store the backup off-site.
BACKUP CERTIFICATE 'CertificateName' TO FILE = 'path_to_file'
WITH PRIVATE KEY (FILE = 'path_to_pvk', ENCRYPTION BY PASSWORD = 'password');
As this requires a password, take care to ensure it is not exposed to unauthorized persons or stored as plain text.
Use the PowerShell command below to retrieve the Transparent Data Encryption key type:
$ResourceGroupName = '<Resource Group Name>'
$ManagedInstanceName = '<Managed Instance Name>'
Get-AzSqlInstanceTransparentDataEncryptionProtector -ResourceGroupName $ResourceGroupname -InstanceName $ManagedInstanceName | Select-Object Type
If the application owner and authorizing official (AO) have determined that encryption of data at rest is not required and the Transparent Data Encryption protector key is type "ServiceManaged", this is not a finding.
If the application owner and AO have determined that encryption of data at rest is required and the Transparent Data Encryption protector key type is "AzureKeyVault" (commonly referred to as Bring Your Own Key or BYOK), this is a finding.
V-276289
False
MSQL-D0-001800
Use the PowerShell command below to retrieve the Transparent Data Encryption key type:
$ResourceGroupName = '<Resource Group Name>'
$ManagedInstanceName = '<Managed Instance Name>'
Get-AzSqlInstanceTransparentDataEncryptionProtector -ResourceGroupName $ResourceGroupname -InstanceName $ManagedInstanceName | Select-Object Type
If the application owner and authorizing official (AO) have determined that encryption of data at rest is not required and the Transparent Data Encryption protector key is type "ServiceManaged", this is not a finding.
If the application owner and AO have determined that encryption of data at rest is required and the Transparent Data Encryption protector key type is "AzureKeyVault" (commonly referred to as Bring Your Own Key or BYOK), this is a finding.
M
5711