sp_pdw_database_encryption_regenerate_system_keys (Azure Synapse Analytics)
Applies to: Azure Synapse Analytics Analytics Platform System (PDW)
Use sp_pdw_database_encryption_regenerate_system_keys
to rotate the certificate and database encryption key for internal databases that are encrypted when TDE is enabled on the appliance. This includes tempdb
. This will succeed only if TDE is enabled.
Syntax for Azure Synapse Analytics and Analytics Platform System (PDW).
sp_pdw_database_encryption_regenerate_system_keys
[ ; ]
Note
This syntax is not supported by serverless SQL pool in Azure Synapse Analytics.
0
(success) or 1
(failure).
The procedure has no parameters.
This procedure should be used when the traffic in the appliance is low.
Requires membership in the sysadmin fixed database role, or CONTROL SERVER permission.
The following example regenerates the database encryption keys.
EXEC sys.sp_pdw_database_encryption_regenerate_system_keys;