Skip to main content

Overview

Preview

The Salesforce Shield integration is in preview and is not yet enabled on standard DuoKey Cockpit tenants. This guide describes how it works and how it is set up. Contact DuoKey to discuss access for your project.

Architecture

Salesforce Shield with a DuoKey key

Salesforce Shield with a DuoKey keySalesforce Shield Platform Encryption wraps and unwraps its keys through DuoKey Cockpit; the key stays in your vault or HSM, and revoking it locks the data.SALESFORCEDUOKEY · YOUR CONTROLWRAP · UNWRAPVAULT APIREVOKEDATASalesforce Shieldplatform encryptionKEY CONTROLDuoKey Cockpityour key (BYOK)CUSTODYVault / HSMkey never exportedKey revokedinstant lockoutLEGENDDuoKey key controlSalesforceKey custodyKey requestCall

Salesforce Shield keeps the data; DuoKey keeps the key in your vault or HSM. Revoke the key and the encrypted data goes dark.

Applies to:
Salesforce ShieldCache-Only KeysExternal Key ManagementPlatform Encryption

What is Salesforce BYOK?​

DuoKey for Salesforce BYOK (Bring Your Own Key) provides a comprehensive solution for securing your Salesforce data with customer-managed encryption keys. This integration enables organizations to maintain complete control over their encryption keys while leveraging Salesforce's Shield Platform Encryption.

Complete Key Control

Manage encryption keys through DuoKey's centralized platform

Cache-Only Keys

Keys remain in memory, never persisted in Salesforce

Automated Management

Simplified key creation, rotation, and revocation

Compliance Ready

Meet regulatory requirements for key management

Shield Platform Encryption Options​

OptionKey LocationControl LevelBest For
Salesforce-GeneratedSalesforce HSMsStandardBasic encryption needs
BYOKUploaded to SalesforceEnhancedBalance of control and simplicity
External Key ManagementExternal KMSMaximumStrict compliance requirements
Cache-Only KeysMemory onlyMaximumKeys never stored in Salesforce

How It Works​

Layer stack

Salesforce BYOK key layers

Salesforce BYOK key layersSalesforce apps encrypt through Shield Platform Encryption, whose data key is wrapped by your DuoKey root key, itself held as MPC key shares.UNWRAPPEDON DEMANDL1 · APPSSalesforce Cloud servicesSales · Service · Marketing · Commerce · Data CloudL2 · SHIELDShield Platform Encryptionwrapped DEK · AES-256 · cached in memory onlyL3 · DUOKEYDuoKey Sovereign KMSroot key · customer-controlled · revocableL4 · VAULTMPC vaultkey shares · Switzerland · EU · your DCLEGENDDuoKey root key (you control)LayerKey unwrapped on demand

The Shield data key is wrapped by your DuoKey root key, which is held as MPC key shares so the full root key never exists in one place. Keys are unwrapped on demand and never persisted in Salesforce.

Key Features​

Key Control

Full control of encryption keys outside Salesforce

Cache-Only Service

Keys in memory only, never persisted

Key Lifecycle

Automated creation, rotation, revocation

RBAC

Granular role-based access control

Audit Logging

Comprehensive compliance logging

REST API

Seamless Salesforce integration

Use Cases​

Data Residency

Maintain encryption keys in your preferred geographic location while using Salesforce's global infrastructure.

Regulatory Compliance

Meet GDPR, HIPAA, and other regulations requiring customer-controlled encryption keys.

Enhanced Security

Implement defense-in-depth by separating key management from data storage.

Multi-Cloud Strategy

Integrate Salesforce protection into your broader multi-cloud security strategy.

Prerequisites​

Prerequisites

  • Salesforce Developer Edition Account or higher
  • DuoKey platform access
  • Admin permissions in both platforms
  • Understanding of Salesforce Shield Platform Encryption
  • Basic knowledge of REST API integration

Getting Started​

Vendor Documentation​