Security: Encrypt a file

Encrypt a file.

Help Centre › Functions & Formulas

Encrypt a file.

Add it to a process

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

Fields

FieldRequiredWhat it does
File to encryptYesFile to encrypt
Fernet keyYesEncryption key
VariableYesVariable name to store the encrypted file path Default: encrypted_file.
Output pathNoOutput path (defaults to file_path.enc)

What it gives back

  • {encrypted_file} – Path to encrypted file

See all Security steps.

Errors

ErrorDescription
File not foundThe source file does not exist
Invalid keyThe provided key is not a valid Fernet key

Tips

  • The original file is not modified or deleted
  • Default output appends .enc to the original filename

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.