Modifying Key Owner

Command to modify key owner.

The modifyKeyOwnercommand enables you to change the key owner. This command can only be run in server mode.

In the User Management utility, open a command prompt and run modifyKeyOwner command to modify a key.

Syntax

modifyKeyOwner <KeyHandle> <UserID> [<KCV>]
Parameter Description
KeyHandle Key handle for which to change the owner.
UserID User ID of the new key owner.
KCV

Key check value for the key in hex

Optional for GENERIC_SECRET keys required for all other key types.

Use getAttribute <keyHandle> to get KCV of the key.

Example

cloudmgmt>server 0
Server is in 'E2E' mode...
server3> modifyKeyOwner 452 6 0x263d7d
*************************CAUTION********************************
This is a CRITICAL operation, should be done on all nodes in the
cluster. KMS server does NOT synchronize these changes with the 
nodes on which this operation is not executed or failed, please 
ensure this operation is executed on all nodes in the cluster.  
****************************************************************

Do you want to continue(y/n)?y
modifyKeyOwner success