Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Authenticate to the PKCS #11 library for AWS CloudHSM Client SDK 5

Focus mode
Authenticate to the PKCS #11 library for AWS CloudHSM Client SDK 5 - AWS CloudHSM

When you use the PKCS #11 library, your application runs as a particular crypto user (CU) in your HSMs in AWS CloudHSM. Your application can view and manage only the keys that the CU owns and shares. You can use an existing CU in your HSMs or create a new CU for your application. For information on managing CUs, see Managing HSM users with CloudHSM CLI and Managing HSM users with CloudHSM Management Utility (CMU)

To specify the CU to PKCS #11 library, use the pin parameter of the PKCS #11 C_Login function. For AWS CloudHSM, the pin parameter has the following format:

<CU_user_name>:<password>

For example, the following command sets the PKCS #11 library pin to the CU with user name CryptoUser and password CUPassword123!.

CryptoUser:CUPassword123!
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.