Skip to main content

Prerequisites

Make sure to adhere to the below prerequisites before continuing with the BYOK procedure:

  • Salesforce account with Enterprise, Performance, or Unlimited Edition subscription with Salesforce Shield enabled,
  • Either Salesforce Classic or Lightning Experience,
  • Salesforce User Permissions Manage Encryption Keys, Manage Certificates and Customize Application, for more info visit Salesforce documentation - Bring Your Own Key (BYOK).
  • Securosys Primus HSM or Cloud HSM Service with JCE license and JCE API enabled with HSM firmware 2.8.45 or newer
  • Securosys Primus Tools v2.3.1 or newer, visit Primus Tools - Prerequisites section for Primus Tools prerequisites.
info

Please review the Salesforce prerequisites in the Salesforce - Bring Your Own Key section of the Salesforce Developers documentation.

Primus HSM Configuration

Setting up the Primus HSM hardware or your CloudHSM partition is not described in this guide. Please refer to the corresponding User Guides downloadable from the Securosys Support Portal (account required).

The Securosys on-premises Primus HSM or Securosys CloudHSM partition needs the Crypto policy (and User policy) configuration to allow Key Export and Key Extract for the used partition.

tip

The CloudHSM services are preconfigured for Salesforce BYOK. Ensure the JCE API is included and activated in your subscription. For available service packages and options, please go to Cloud Console or contact sales .

Follow the below shown steps to configure the on-premises Primus HSM:

  • Enable Key Export on user/partition level (SO activation required):
SETUP → CONFIGURATION → SECURITY → USER SECURITY → KEY EXPORT
  • Enable Key Extract on user/partition level (SO activation required):
  SETUP → CONFIGURATION → SECURITY → USER SECURITY → KEY EXTRACT
  • The Primus Tools commands require the JCE interface enabled on device and user level (plus license):
SETUP → CONFIGURATION → SECURITY → DEVICE SECURITY → CRYPTO POLICY → JCE
SETUP → CONFIGURATION → SECURITY → USER SECURITY → JCE