1. Handlebars Helpers
  2. Encrypt

Handlebars Helpers

Encrypt

Returns the encrypted version of the input data using a specified secret (base64 encoded).

Uses

  • Use to save sensitive data into the stub
  • Use to pass private data to other systems
  • Use to encrypt api keys for authorization in API Call Task

Usage

Helper name : encrypt

Parameter Description
1 The encryption key, will be needed to decrypt later

eg. {{#encrypt 'password'}}{{/encrypt}}

NOTE

Use with Decrypt to get the original text content back

Examples

Encrypt personal identity information

Example definition:

loading...

Saved data

loading...

Encrypt a data structure

This method uses the To JSON String helper with encrypt to encrypt a full data structure

Example savedata task:

loading...

Saved data

loading...