Altering passwords and key encryption keys for master key copies

Users who own master key copies can change the passwords for their key copies using:

alter encryption key [dual] master
	with passwd char_string
	modify encryption 
	{with passwd char_string [for recovery]
		| for automatic_startup}

where:

If neither for recovery nor for automatic startup is specified, and the command is issued by the key owner, Adaptive Server alters the password of the base key copy. If the command is not issued by the key owner, Adaptive Server alters the password of the base key copy only if the current user has sso_role or keycustodian_role.

Users with sso_role or keycustodian_role can modify the automatic_startup key copies to change their key encryption keys. For example, such a user with knowledge of the master key password, can change the key encryption key of the automatic_startup key copy using:

alter encryption key master
     with passwd 'unforgettablethatswhatyouare'
     modify encryption for automatic_startup

The Adaptive Server: