Deleting a User
Command to delete a user.
The deleteUser
command deletes a user from a HSM partition. Only a Crypto Officer (CO) can run this command.
In the User Management utility, open a command prompt and run deleteUser
command to delete a user of type specified in Usertype with given username from the HSM(s).
Syntax
deleteUser <Usertype> <Username>
Parameter | Description |
---|---|
Usertype |
Role assigned to the user (such as CO and CU) to perform user management operations. |
Username |
Name of luser to be deleted. |
Example
cloudmgmt>deleteUser CO co_test1
*************************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.
****************************************************************
Deleting user co_test1(CO) on 3 nodes
deleteUser success on server 0(<ip-address0>)
deleteUser success on server 1(<ip-address1>)
deleteUser failed: HSM Error: This user doesn't exist
deleteUser failed on server 2((<ip-address2>)
Retry/Ignore/Abort?(R/I/A):I
cloudmgmt>
Example: Server mode
cloudmgmt>server 2
Server is in 'E2E' mode...
server2>deleteUser CO co_test
*************************CAUTION********************************
This is a CRITICAL operation, should be done on all nodes in the
cluster. Cav 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.
****************************************************************
deleteUser success