All Products
Search
Document Center

Key Management Service:Permissions of HSM users

Last Updated:Mar 31, 2026

When you log on to a hardware security module (HSM) using hsm_mgmt_tool, your identity determines which commands you can run. HSM supports three user types — CO, CU, and AU — each with a distinct set of permissions.

HSM user types

CO

A crypto officer (CO) manages HSM configuration and user accounts. COs can create and delete users, create and delete keys, and configure HSM parameters.

CU

A crypto user (CU) performs cryptographic operations. For example, a CU can encrypt and decrypt data, and create and manage certificates.

AU

An appliance user (AU) performs cluster-level maintenance. AUs can clone and synchronize HSMs within a cluster.

Permissions of HSM users

CommandCOCUAUUnauthorized user
changePswdYesYes (own password only)NoNo
createUserYesNoNoNo
deleteUserYesNoNoNo
findAllKeysYesNoYesNo
getAttributeNoYesNoNo
getCertYesYesYesNo
getCertReqYesYesYesNo
getHSMInfoYesYesYesYes
getKeyInfoNoYesNoNo
infoYesYesYesYes
listAttributesYesYesYesYes
listUsersYesYesYesYes
loginHSMNoNoNoYes
logoutHSMYesYesYesNo
serverYesYesYesNo
setAttributeNoYesNoNo
quitYesYesYesYes
shareKeyNoYesNoNo
storeCertYesNoNoNo

Troubleshooting permission errors

If a command fails with either of the following errors, the current user identity does not have permission to run that command:

  • HSM Error: No user is logged in to do this operation

  • HSM Error: The current logged in user is not authorized to do this operation

Log in with an identity that has the required permission, or contact a CO to adjust user permissions.