Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Decrypt File Reference

Prev Next

Step Details

Introduced in Version9.24.0
Modified in Version9.24.0
LocationPGP Module

The Decrypt File Reference step decrypts a file using File Reference data. This step provides the same functionality as the Decrypt File step, but works with file references instead of loading the file as FileData.

This step is useful when working with large encrypted files or when a Flow needs to decrypt a referenced file without loading the entire file into memory.

This step requires GPG to be installed on the system. GPG can be used to generate and export the key files used by this step.

In many environments, the key files used for decryption are provided by an organization’s internal IT operations or security team. In other cases, the private key may be generated and exported for the system that is responsible for decrypting files.


Properties

Inputs

PropertyDescriptionData Type
FileThe desired PGP-encrypted file
File Reference
Private KeyGenerated PGP private key file used for encrypting or decrypting
FileData
Private Key PasswordPassword for the specified Private Key
String

Outputs

PropertyDescriptionData Type
OutputOutputs the decrypted fileFile Reference

Example Inputs and Outputs

FilePrivate KeyPrivate Key PasswordOutput
Contentprivatekey.asc
YourPkPassHere
Id: "217fd06a-1933-4baa-9ff5-5476aecc1ea8" FileName: "pgp_dec_out_EncryptedFile.docx" Size: 11 FileDateTime: "2026-04-23T15:32:58.1572565Z"

Example

In this example, a Flow decrypts an incoming encrypted file using a file reference so the file can be used in later steps.

  1. In the Flow Designer, add the Decrypt File Reference step from the PGP steps available in the Toolbox.
  2. Map the File Reference for the encrypted file that should be decrypted.
  3. Configure the remaining properties.
  4. When the Flow runs, the file is decrypted and returned as a file reference.

The table below shows the decryption setup and results.

Before (encrypted file reference), Process (mapping the private key and private key password), and After (the decrypted output file). 

Before DecryptionProcessAfter Decryption
Before (encrypted file reference)Process (private key mapped)Process (private key password mapped)After (decrypted output file)

Step Changes

DescriptionVersionDateDeveloper Task
New steps have been added to the PGP Module.9.24April 2026[DT-047092]
Related Information

Documentation:
PGP Module
GnuPG
Forum Posts:
Error While Encrypting A File Using PGP
PGP Issues With Decrypting Using Private Key