Security: Decrypt a file

Decrypt a file.

Help Centre › Functions & Formulas

Decrypt a file.

Add it to a process

In the process designer, open the Add step tab. Find Decrypt a file under Security, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Encrypted file pathYesEncrypted file path
Fernet keyYesDecryption key
VariableYesVariable name to store the decrypted file path Default: decrypted_file.
Output pathNoOutput path

What it gives back

  • {decrypted_file} – Path to decrypted file

See all Security steps.

Errors

ErrorDescription
File not foundThe encrypted file does not exist
Invalid keyThe provided key is not a valid Fernet key
Invalid fileThe file is not a valid Fernet-encrypted file

Tips

  • The default output path removes the .enc extension from the input filename
  • You must use the same key that was used for encryption

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.