Newer Version Available
Generate a Tenant Secret
Before enabling change events for encrypted data, generate an Event Bus tenant
secret.
Prerequisites:
| User Permissions Needed | |
|---|---|
| To manage tenant secrets: | Manage Encryption Keys |
Only authorized users can generate tenant secrets from the Platform Encryption page. Ask your Salesforce admin to assign you the Manage Encryption Keys permission.
Steps:
- From Setup, in the Quick Find box, enter Platform Encryption, and then select Key Management.
- In the Choose Tenant Secret Type dropdown list, choose the Event Bus data type.
-
Click Generate Tenant Secret.

Alternatively, you can generate a tenant secret through SOAP API or REST API using the
TenantSecret object and the Type field value of EventBus.
For more information, see TenantSecret in the Object Reference for Salesforce and Force.com.