function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sidrit RekaSidrit Reka 

Is the data returned encrypted from the API when platform encryption is on?

Is the data returned encrypted from the SOAP API when platform encryption is on?
ShirishaShirisha (Salesforce Developers) 
Hi Sidrit,

Greetings!

Yes,the platform encryption helps you to protect the secret keys as mentioned in the below document:

https://developer.salesforce.com/docs/atlas.en-us.platform_encryption_rest_api_guide.meta/platform_encryption_rest_api_guide/api_rest_encryption.htm

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
 
Sidrit RekaSidrit Reka

Hi Shrisha,

The reference doc you provided explains how to provide a key to encrypt the data that is stored in Salesforce.

It does not say that the data will come encrypted from the SOAP or REST API requests.

Maybe I am missing something?

Cheers!