REVOKE Symmetric Key Permissions
REVOKE permissions on symmetric key
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
REVOKE [ GRANT OPTION FOR ] permission [ ,...n ] ON SYMMETRIC KEY :: symmetric_key_name { TO | FROM } <database_principal> [ ,...n ] [ CASCADE ] [ AS <database_principal> ]
Work example
A caller no longer needs a direct permission on one symmetric key.
Check encrypted data access and module signing before removing the direct grant.
Check your work The caller cannot open the key and approved decryption paths still work.
Open Microsoft Learn for full syntax, permissions, and details for your version.