Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.86 KB

sp-pdw-database-encryption-regenerate-system-keys-sql-data-warehouse.md

File metadata and controls

58 lines (40 loc) · 1.86 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic dev_langs monikerRange
sp_pdw_database_encryption_regenerate_system_keys (Azure Synapse Analytics)
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.
WilliamDAssafMSFT
wiassaf
randolphwest
08/22/2024
sql
system-objects
reference
TSQL
>=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.

EXEC sys.sp_pdw_database_encryption_regenerate_system_keys;

Related content