Renaming a key in the repository

To change the name of a key, use the zkey rename command.

About this task

The zkey name is specific to the Linux instance with the zkey repository you are working with.

For more information about the zkey rename command, see the zkey command reference in Pervasive Encryption for Data Volumes, SC34-2782, or the man page.

Note: The key label as it is known in the KMIP server cannot be changed. Only the associated zkey name is updated.

Procedure

Specify the name of the key and the new name. Issue a command of the following form:
# zkey rename -N <name> -w <new_name> 
For example, to rename the key with the name kmip-dasdb1 into kmip-dasdb2:
# zkey rename -N kmip-dasdb1 -w kmip-dasdb2

Results

The key name is changed in the zkey repository. Use the zkey list command to check the name:
# zkey list
....
Name                         : kmip-dasdb2
....