Regenerating master keys

Periodically change the master and dual master keys. However, each time you change the master and dual master keys, you must also reencrypt all column encryption keys using the new master and dual master keys. To automate this process, Adaptive Server uses the regenerate key option which replaces the master or dual master key values with the new values, and reencrypts all the column encryption keys that are currently encrypted by the master or dual master keys being regenerated:

alter encryption key [dual] master
	with passwd char_string
	regenerate key
	[with passwd char_string]

When regenerate key command is executed, Adaptive Server: