1

Is there way to ensure clear text? If it is encrypted can we use the tenant secret to decrypt OR vice versa?

I am trying to explore the apex side offerings of shield if any.

Any help is appreciated. Thanks

  • When using Platform Encryption, you must have the “View Encrypted Data” permission to view field values in plaintext. – TSmith Nov 10 '16 at 11:00
  • Agreed. It works based on permissionSet/profile which is fine. My scenario was clearly apex based where I am trying to customize OR achieve a conditional encryption ( So far it is not possible with my understanding). – Pradeepkumar'2552866 Nov 11 '16 at 13:09
1

You can not decrypt the data by using the tenant secret via Apex code.Since salesforce itself it will decrypt the data whenever you open the record.

It can be done in case if you are using the third party encryption gateway services.

  • Thanks for confirming on apex is not a way to go. Yes, I am trying this scenario because of comparison with cipher(3rd party as mentioned) – Pradeepkumar'2552866 Nov 11 '16 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.