OPEN MASTER KEY DECRYPTION BY PASSWORD = 'MyPassword' go ALTER MASTER KEY ADD ENCRYPTION BY SERVICE MASTER KEY go close master key go