Adobe Campaign lets you export zipped or encrypted files. When defining an export through a Data extraction (file) activity, you can define a post-processing to zip or to encrypt the file.
To be able to do so:
Install a GPG key pair for your instance using the Control Panel.
Control Panel is restricted to Admin users, and available for certain Campaign versions only. Learn more
If your installation of Adobe Campaign is hosted by Adobe, contact Adobe Customer Care to have the necessary utilities installed on the server.
If your installation of Adobe Campaign is on premise, install the utility you want to use (for example: GPG, GZIP) as well as the necessary keys (encryption key) on the application server.
In this use case, we will build a workflow in order to encrypt and export data using a key installed on Control Panel.
The steps to perform this use case are as follows:
Generate a GPG key pair (public/private) using a GPG utility, then install the public key onto Control Panel. Detailed steps are available in Control Panel documentation.
In Campaign Classic, build a workflow to export the data and encrypt it using the private key that has been installed via the Control Panel. To do this, we will build a workflow as follows:
Configure the Query activity to target the desired data from the database. For more on this, refer to this section.
Open the Data extraction (file) activity then configure it according to your needs. Global concepts on how to configure the activity are available in this section.
Make sure you replace the fingerprint value from the command with the fingerprint of the public key installed on the Control Panel.
var cmd='gpg '; cmd += ' --trust-model always'; cmd += ' --batch --yes'; cmd += ' --recipient fingerprint'; cmd += ' --encrypt --output ' + vars.filename + '.gpg ' + vars.filename; execCommand(cmd,true); vars.filename=vars.filename + '.gpg'
Open the File transfer activity, then specify the SFTP server to which you want to send the file. Global concepts on how to configure the activity are available in this section.
You can now run the workflow. Once it is executed, data target by the query will be exported to the SFTP server into an encrypted .gpg file.
This video shows how to use a GPG key to encrypt data is also available in
Additional Campaign Classic how-to videos are available here.