Setting Cryto User Attributes

Set crypto user attributes.

The setUserAttributescommand sets the functionality for a crypto user.

In the User Management utility, open a command prompt and run setUserAttributes command to set the functionality for a crypto user.

Syntax

setUserAttributes <Username> <UserAttrsFile> 
Parameter Description
Username Username of crypto user.
UserAttrsFile Path to the user attributes template file.

Example

cloudmgmt>setUserAttributes lock_cu /tmp/userAttribute
*************************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.
****************************************************************

Do you want to continue(y/n)?y
setUserAttributes Info of user lock_cu on 3 nodes
setUserAttributes success on server 0(10.144.157.163)
setUserAttributes success on server 1(10.144.157.163)
setUserAttributes success on server 2(10.144.157.163)

/tmp/userAttribute content
CKA_USER_SIGN
0x01
CKA_USER_WRAP
0x01
CKA_USER_UNWRAP
0x01
CKA_USER_MODIFIABLE
0x01
CKA_USER_DERIVE
0x01
CKA_USER_KEYGEN
0x01
CKA_MANAGE_BY_CO
0x01

UserAttribute example file:

CKA_USER_SIGN
0x01
CKA_USER_WRAP
0x01
CKA_USER_UNWRAP
0x01
CKA_USER_MODIFIABLE
0x01
CKA_USER_DERIVE
0x01
CKA_USER_KEYGEN
0x01
CKA_MANAGE_BY_CO
0x01