Use this script to delete existing master key of master database and create new one encrypted by provided password. This could be useful after restoring from snapshot or ROS backup which already contains a master key encrypted with unknown password. Note that before deleting existing master key all dependent objects (e.g. mirroring endpoints and certificates) are also deleted. The script requires the MASTER_KEY_SAFETY parameter to be set to "off" to avoid accidental deletion of existing master key.
Revision 3 | Jul 22, 2013
Sign-up for RightScale