Skip to content

Latest commit

 

History

History
53 lines (45 loc) · 3.63 KB

sys-column-encryption-key-values-transact-sql.md

File metadata and controls

53 lines (45 loc) · 3.63 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs monikerRange
sys.column_encryption_key_values (Transact-SQL)
sys.column_encryption_key_values (Transact-SQL)
jaszymas
jaszymas
10/15/2019
sql
system-objects
reference
column_encryption_key_values
column_encryption_key_values_TSQL
sys.column_encryption_key_values
sys.column_encryption_key_values_TSQL
sys.column_encryption_key_values catalog view
TSQL
=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current

sys.column_encryption_key_values (Transact-SQL)

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance]

Returns information about encrypted values of column encryption keys (CEKs) created with either the CREATE COLUMN ENCRYPTION KEY or the ALTER COLUMN ENCRYPTION KEY (Transact-SQL) statement. Each row represents a value of a CEK, encrypted with a column master key (CMK).

Column name Data type Description
column_encryption_key_id int ID of the CEK in the database.
column_master_key_id int ID of the column master key that was used to encrypt the CEK value.
encrypted_value varbinary(8000) CEK value encrypted with the CMK specified in column_master_key_id.
encryption_algorithm_name sysname Name of an algorithm used to encrypt the CEK value.

Name of the encryption algorithm used to encrypt the value. The algorithm for the system providers must be RSA_OAEP.

Permissions

Requires the VIEW ANY COLUMN ENCRYPTION KEY permission.

[!INCLUDEssCatViewPerm] For more information, see Metadata Visibility Configuration.

See Also

CREATE COLUMN ENCRYPTION KEY (Transact-SQL)
ALTER COLUMN ENCRYPTION KEY (Transact-SQL)
DROP COLUMN ENCRYPTION KEY (Transact-SQL)
CREATE COLUMN MASTER KEY (Transact-SQL)
Security Catalog Views (Transact-SQL)
sys.column_encryption_keys (Transact-SQL)
sys.column_master_keys (Transact-SQL)
sys.columns (Transact-SQL)
Always Encrypted
Always Encrypted with secure enclaves
Overview of Key Management for Always Encrypted
Manage keys for Always Encrypted with secure enclaves