Encrypt Content with PGP Data Flow Template

pgpencrypt.png

Overview

This Data Flow template has two Data Operations with pre-configured components that allow app builders to generate a file from the content that is passed in and then secure it using the PGP encryption data operation.

In Connection Builder, Data Flow templates can be found with pre-populated sample data. However, to meet the requirements of their Journey, app builders should perform the necessary adjustments, such as adding other Data Ops.

Data Operations

This Data Flow contains three main parts:

Inputs

The Start pane keeps track of the inputs required by the Data Flow. 

  • No sample inputs

  • Filename: name of the generated file
  • Mime Type: blank
  • Content Encoding: blank
  • Content: “payload”
  • Asset Setting:
    • Scope: APP - to be accessed from other user’s sessions
    • Visibility: PRIVATE
    • Download URL Expiration: set in 5 days
  • Run Results: file Variable of type Asset that is automatically created to hold the results of this Operation.

  • Output filename: “encrypted.txt”
  • File to encrypt: Converted Asset URL to Asset Object
  • PGP Public Key: string of the key
  • Asset Setting:
    • Scope: APP -  to be accessed from other user’s sessions
    • Visibility: PRIVATE
    • Download URL Expiration: set in 1 day
  • Run Results: encrypted_file Variable of type Asset that is automatically created to hold the results of this Operation.

Output

The End step is where variables from the Data Flow can be used as an output..

  • No sample return value

Use Cases

  • Allow app builders to create a file and encrypt its content.