Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Set Up and Maintain Your Salesforce Organization
Connect Salesforce to AWS KMS and Create a Data Encryption Key

Connect Salesforce to AWS KMS and Create a Data Encryption Key

When you configure your connection between Salesforce and AWS, you provide information about the AWS KMS key that you want Salesforce to use (key identifier, region, and description). You then generate a JSON structure and add that structure to your key policy in the AWS console for your key.

Required Editions

Available in both Lightning Experience and Salesforce Classic (not available in all orgs).
Available in: Enterprise, Performance, Unlimited, and Developer Editions. Requires purchasing Salesforce Shield or Shield Platform Encryption, and the External Key Management Service. Data 360 customers must also have the Platform Encryption for Consumption license.
User Permissions Needed
To generate, destroy, export, import, upload, and configure tenant secrets and customer-supplied key material: Manage Encryption Keys
Important
Important Before you can use EKM, you must create and configure the AWS key you plan to use. See the AWS Key Management Service documentation.

You can also add information about your Salesforce key policy to your key policy in AWS KMS. Salesforce then uses this key policy to generate and wrap a data encryption key for encryption and decryption operations in Salesforce.

  1. From Setup, in the Quick Find box, enter Platform Encryption, and then select Advanced Settings. Turn on External Key Management.
    You can now access External Key Management configuration controls on the Key Management page.
  2. From Setup, in the Quick Find box, enter Platform Encryption and then select Key Management.
  3. Click the tab for the service you need the EKM for (Data Cloud, Fields and Files - Probabilistic, Fields - Deterministic, Event Bus, or Search Index). Then click Generate Root Key located on the tab.
    The Configure a Key Management Service box appears.
  4. Select AWS Key Management Service, and then click Start.
  5. Follow the prompts for gathering and entering your AWS KMS key information. Enter its key identifier, region, and description. A unique description helps you distinguish between keys for efficient auditing and key management.
  6. To create a copy of the JSON text, on the Key Policy tab, click Copy.
    The copied JSON text contains details about your AWS KMS key that you entered in the previous step.
  7. Log in to your AWS KMS console. Paste the copied JSON text into your key policy. Make sure that it references your key ID and not an alias name, and then save your changes.
    For example, use key/key_id instead of alias/alias_name in your ARN.
  8. In Salesforce, on the Key Management page, click Done.

You receive a notification that AWS KMS is now connected to Salesforce and that a Salesforce data encryption key is created. Check the connection and new data encryption key on the Key Management page.

 
Loading
Salesforce Help | Article