How to Restore an Encryption Key

To restore a deleted encryption key, you must recreate the key by using the same key name and value as the key that you deleted. Ensure that you record or back up the key name and its value before you delete the key. For information about how to back up a key, see How to Back Up an Encryption Key.

While deleting an encryption key renders associated shares inaccessible, you can make such shares accessible again by recreating the encryption key.

  1. Restore a backed up key.
    phys-schost# cldevicegroup key-create -k keyname -c key

    The following example command uses the cldevicegroup key-create command to recreate the gpool-key by specifying the -c option and the encryption key value:

    phys-schost# cldevicegroup key-create -k gpool-key \
    -c 007781ebafcbd7fa94de683ae65f1e71293d48e5e32ba6bd2751a2e9299707d7