SQL Flow Field Guide

CREATE CRYPTOGRAPHIC PROVIDER

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

defines a cryptographic provider

What changes

Input
catalog
Output or change
security catalog: cryptographic provider

Syntax at a glance

CREATE CRYPTOGRAPHIC PROVIDER provider_name FROM FILE = path_of_DLL

Work example

An instance must connect to a supported external key management provider.

Check provider files, version, endpoint, authentication path, and failover behavior with the security owner.

Check your work The installed provider is supported and resolves the intended key without exposing key material.

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