ALTER MASTER KEY
changes a master key
What changes
- Input
- catalog
- Output or change
- security catalog: master key
Syntax at a glance
ALTER MASTER KEY <alter_option>
Work example
A database master key needs re-encryption or password rotation.
Check the key backup and recovery owner, then test access to dependent certificates in a restored database.
Check your work The master key opens after restore and each dependent key remains usable.
Open Microsoft Learn for full syntax, permissions, and details for your version.