Security: Generate a new encryption key

Generate a new encryption key.

Help Centre › Functions & Formulas

Generate a new encryption key.

Add it to a process

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

Fields

FieldRequiredWhat it does
Key typeYesSelect the key type Choices: Fernet, AES-128, AES-256, Random 32 bytes, Random 64 bytes. Default: fernet.
VariableYesVariable name to store the generated key Default: key.

What it gives back

  • {key} – Generated encryption key

See all Security steps.

Tips

  • Fernet is recommended for most use cases as it provides authenticated encryption
  • Store generated keys in the Vault for safekeeping

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.