CREATE COLUMN MASTER KEY
defines a column master key
What changes
- Input
- catalog
- Output or change
- security catalog: column master key
Syntax at a glance
CREATE COLUMN MASTER KEY key_name WITH ( KEY_STORE_PROVIDER_NAME = 'key_store_provider_name', KEY_PATH = 'key_path' [,ENCLAVE_COMPUTATIONS (SIGNATURE = signature)] ) [;]
Work example
Always Encrypted needs database metadata for a key held in an external key store.
Compare the key-store provider and key path with the client's approved key-store configuration.
Check your work The database key path resolves for the intended client without storing the master key in SQL Server.
Open Microsoft Learn for full syntax, permissions, and details for your version.