CREATE ASYMMETRIC KEY
defines a asymmetric key
What changes
- Input
- catalog
- Output or change
- security catalog: asymmetric key
Syntax at a glance
CREATE ASYMMETRIC KEY asym_key_name [ AUTHORIZATION database_principal_name ] [ FROM <asym_key_source> ] [ WITH <key_option> ] [ ENCRYPTION BY <encrypting_mechanism> ] [ ; ]
Work example
A database needs a public and private key pair for a signed or encrypted operation.
Map the key to its certificate, owner, intended operation, backup plan, and rotation procedure.
Check your work The key algorithm, length, owner, and protection path meet the approved key policy.
Open Microsoft Learn for full syntax, permissions, and details for your version.