## Syntax

`AES_ENCRYPT(text, key, [iv], [mode: "aead"], [expires_in])`

## Usage examples

|     |     |
| --- | --- |
| Formula | `AES_ENCRYPT("hello world", CREDENTIAL.secret_key, mode: "aead", expires_in: 60)` |

## Sample Actions

### Event Transform

- **AES_ENCRYPT**
- **My Action**
- **Event Transform**
- **AES_ENCRYPT**

### Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

### Copy Actions

- **Event Transform**
- **AES_ENCRYPT**
- **Event Transform**
- **My Action**
- **Event Transform**
- **AES_ENCRYPT**

### Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

### Copy Actions

- **Event Transform**
- **AES_ENCRYPT**
- **Event Transform**
- **My Action**
- **Event Transform**
- **AES_ENCRYPT**

### Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

### Copy Actions
