Loading
Special Database Encryption Considerations

Special Database Encryption Considerations

Certain aspects of transactional databases require delays before keys are used and before data can be encrypted.

  • Field-Level Encryption Happens Before Database Encryption. FLE encryption happens before data is written to the transactional database. As a result, existing FLE limitations such as a lack of sorting still apply.
  • Database Tenant Secret Delay. When you generate a new database tenant secret, it’s listed on the Key Management page in Setup along with the rest of your org secrets, and it’s stored in the regional Salesforce Shield KMS.

    Though your database tenant secret is created, Salesforce security policy requires that your database tenant secret be backed up before it can be used for encryption. This backup policy is true whether you create a Salesforce-generated database tenant secret or supply it via BYOK. Salesforce allocates up to 24 hours for a complete database tenant secret backup. Between the time that you create or upload your database tenant secret and until the time it’s used, Salesforce encrypts your transactional data by using a Salesforce-controlled temporary system database tenant secret. This system seed is used only to create DEKs for data in your org, and it becomes one of your org’s permanent Database Encryption seeds.

  • Hyperforce is Required. Database Encryption is available for Hyperforce customers with a Shield or Shield Platform Encryption license. If your org isn’t running on a Hyperforce instance, Database Encryption isn’t available for that org.
  • Database Encryption Seeds may not be Deleted. An encrypted database has a large number of encrypted fragments. To decrypt a fragment’s data, the database tenant secret used for encrypting it must be available. You can create a new database tenant secret when you need one, but you can’t delete Database Encryption seeds as you can other types of tenant secrets. The Salesforce transactional database requires that all keys ever used for Database Encryption be preserved permanently.
  • Database Encryption supports Salesforce-generated keys or Bring Your Own Key (BYOK). However, cache-only keys and EKM are features for FLE only.
  • Database Encryption and Field-Level Encryption IV Differences. Database Encryption uses a random IV for each fragment, so the database is in a constant state of gradual encryption change. FLE uses a random IV for probabilistic encryption and a fixed IV for deterministic encryption.
 
Cargando
Salesforce Help | Article