GRANT Asymmetric Key Permissions
GRANT permissions on asymmetric key
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
GRANT { permission [ ,...n ] } ON ASYMMETRIC KEY :: asymmetric_key_name TO database_principal [ ,...n ] [ WITH GRANT OPTION ] [ AS granting_principal ]
Work example
A principal needs a permission on one asymmetric key for a named operation.
Map the key to its certificate, module, and encryption workflow before granting access.
Check your work The test principal performs the intended key operation and cannot export unrelated key material.
Open Microsoft Learn for full syntax, permissions, and details for your version.