SQL Flow Field Guide

ADD SIGNATURE

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

signs a module (permission chaining)

What changes

Input
certificate or asymmetric key
Output or change
module signature

Syntax at a glance

ADD [ COUNTER ] SIGNATURE TO module_class::module_name BY <crypto_list> [ , ...n ]

Work example

A signed module needs a permission supplied by its signing certificate or key.

Check the exact module definition, signer, certificate user, and required permission before signing.

Check your work The unchanged module receives only the permission granted to its signer.

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