Service Keys

Service keys are 256-bit, persistent encryption keys used to strongly encrypt external login passwords and hidden text, and are stored in sysencryptkeys.

Encrypt service keys using either:
The database objects that describe these service keys include:
Note: The system encryption password does not encrypt service keys.

During an upgrade to version 15.7 or later, procedural objects are recompiled from source. Connected users are restricted in what they can do until the master key password is entered for databases where strong encryption of hidden text is enabled, and service key is protected by master key.

An authorized user must set the master key password on such databases using:
use mydb
go
set encryption passwd password for key master
go