GRANT Symmetric Key Permissions
GRANT permissions on symmetric key
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
GRANT permission [ ,...n ] ON SYMMETRIC KEY :: symmetric_key_name TO <database_principal> [ ,...n ] [ WITH GRANT OPTION ] [ AS <database_principal> ]
Work example
An application principal needs a permission to use one symmetric key.
Check the encrypted column, key protector, module context, and intended decrypting caller.
Check your work The caller can handle its approved values and another test principal cannot open the key.
Open Microsoft Learn for full syntax, permissions, and details for your version.