Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.91 KB

File metadata and controls

53 lines (39 loc) · 1.91 KB
title sp_pdw_database_encryption_regenerate_system_keys (SQL Data Warehouse) | Microsoft Docs
ms.custom
ms.date 03/03/2017
ms.prod sql
ms.technology system-objects
ms.topic language-reference
dev_langs
TSQL
ms.assetid bb13e323-a984-4462-8b6d-6019c38ddd9d
author ronortloff
ms.author rortloff
ms.reviewer
monikerRange >= aps-pdw-2016 || = azure-sqldw-latest || = sqlallproducts-allversions

sp_pdw_database_encryption_regenerate_system_keys (SQL Data Warehouse)

[!INCLUDEtsql-appliesto-xxxxxx-xxxx-asdw-pdw-md]

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 SQL Data Warehouse and Parallel Data Warehouse  
  
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.

Example

The following example regenerates the database encryption keys.

EXEC sys.sp_pdw_database_encryption_regenerate_system_keys;  

See Also

sp_pdw_database_encryption (SQL Data Warehouse)
sp_pdw_log_user_data_masking (SQL Data Warehouse)