To create a CloudHSM crypto user, do the following:
-
Log in as the CO admin:
aws-cloudhsm> login CO admin <password> -
Create an ejbca crypto user:
aws-cloudhsm> createUser CU ejbca <password> -
Use
listUsersto see all users:aws-cloudhsm> listUsers aws-cloudhsm>listUsers Users on server 0(172.16.2.59): Number of users found:2 User Id User Type User Name MofnPubKey LoginFailureCnt 2FA 1 CO admin NO 0 NO 2 CU ejbca NO 0 NO -
Quit the client utility:
aws-cloudhsm> quit
For more detailed user management, refer to the AWS CloudHSM documentation Managing HSM Users in AWS CloudHSM.