DENY Asymmetric Key Permissions
DENY permissions on asymmetric key
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
DENY { permission [ ,...n ] } ON ASYMMETRIC KEY :: asymmetric_key_name TO database_principal [ ,...n ] [ CASCADE ] [ AS denying_principal ]
Work example
A principal must be blocked from a permission on one asymmetric key.
Trace certificates and signed modules that depend on the key before changing access.
Check your work The principal cannot use the key permission and required signed modules still work.
Open Microsoft Learn for full syntax, permissions, and details for your version.