If data records are coming to SFMC Data Extension via API calls. And this data is encrypted by external system. I want to decrypt that data and store it in SFMC DE.

How can I do it?

Also, I am not finding any documentation regarding how to get "Marketing Cloud Public Key" which can be used to encrypt the data to be sent to SFMC via API calls?

  • Can you specify REST or SOAP please?
    – Timothy
    Feb 22, 2018 at 18:19
  • Data is coming to SFMC via REST API.
    – user36778
    Feb 23, 2018 at 7:51
  • It may be possible with the DecryptSymmetric() AMPScript function. It's been done the other way -- encrypted in SFMC and decrypted outsde if SFMC. It'll involve a lot of trial and error and possibly some flexibility in the encryption used in the external system. Feb 23, 2018 at 15:34
  • Oh and welcome back to SFSE, @Timothy! Long time, no see! Feb 23, 2018 at 15:36
  • 1
    @AdamSpriggs, Thank you. New re-org, new role, and I can finally be a regular again.
    – Timothy
    Feb 24, 2018 at 18:19


You must log in to answer this question.

Browse other questions tagged .