Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.86 KB

File metadata and controls

58 lines (40 loc) · 1.86 KB
title sp_pdw_database_encryption_regenerate_system_keys (Azure Synapse Analytics)
description 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.
author WilliamDAssafMSFT
ms.author wiassaf
ms.reviewer randolphwest
ms.date 06/23/2025
ms.service sql
ms.subservice system-objects
ms.topic reference
dev_langs
TSQL
monikerRange >=aps-pdw-2016 || =azure-sqldw-latest

sp_pdw_database_encryption_regenerate_system_keys (Azure Synapse Analytics)

[!INCLUDE applies-to-version/asa-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

Syntax for Azure Synapse Analytics and Analytics Platform System (PDW).

sp_pdw_database_encryption_regenerate_system_keys
[ ; ]

Return code values

0 (success) or 1 (failure).

Remarks

The procedure has no parameters.

This procedure should be used when the traffic in the appliance is low.

Permissions

Requires membership in the sysadmin fixed database role, or CONTROL SERVER permission.

Examples

The following example regenerates the database encryption keys.

EXECUTE sys.sp_pdw_database_encryption_regenerate_system_keys;

Related content