DataEncryptionKey

The DataEncryptionKey object is part of the Bring Your Own Key (BYOK) feature, which allows users to upload a data encryption key (DEK) using a public key generated by the Salesforce Shield Key Management Service (KMS). Customers create their own DEKs and upload them to Salesforce. Users access this entity via the API to list DEK keys for auditing purposes. They can also programmatically use this object to create the certificate and to upload key material. This object is available in API version 63.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see DataEncryptionKey in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByCreated Bystring 64  
CreatedDateCreated Datedatetime    
DataEncryptionKeyCertNameData Encryption Key Certificate Namestring 80  
DescriptionDescriptionstring 100  
DoesUseKeyDerivationKey Derivationboolean    
IdData Encryption Key Idid 18  
LastModifiedByLast Modified Bystring 64  
LastModifiedDateLast Modified Datedatetime    
RootKeyIdentifierRoot Key Identifierstring 15  
RootKeyKmsIdentifierRoot Key KMS Identifierstring 512  
SecretValueSecret Valuetextarea 2000  
SessionTokenSession Tokentextarea 3000  
SourceSourcestring 100  
StatusStatusstring 32  
TypeTypestring 150  
VersionVersionint9