SQL Flow Field Guide

CREATE SYMMETRIC KEY

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

defines a symmetric key

What changes

Input
catalog
Output or change
security catalog: symmetric key

Syntax at a glance

CREATE SYMMETRIC KEY key_name [ AUTHORIZATION owner_name ] [ FROM PROVIDER provider_name ] WITH [ <key_options> [ , ... n ] | ENCRYPTION BY <encrypting_mechanism> [ , ... n ] ]

Work example

A database needs a symmetric key for an approved column or value encryption design.

Trace the key protector, algorithm, authenticator choice, access policy, and backup owner.

Check your work The key is opened only by its intended principal and its protector has a tested recovery path.

Open Microsoft Learn for full syntax, permissions, and details for your version.