> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ETL: Decrypt

> Decrypt an Integrate.io ETL encrypted string using the specified AWS KMS key ARN and the encryption context used for the encryption.

## Description

Decrypt an Integrate.io ETL encrypted string using the specified AWS KMS key ARN and the encryption context used for the encryption.

## Syntax

`Decrypt(‘encrypted_message’, ‘keyARN’ [,TOMAP('key1','val1'...)])`

## Arguments

*encrypted\_message* (string) - containing the cipher text and encrypted data key.

*keyARN* (string) - AWS KMS Key’s ARN.

*encryption\_context* (map of key values) - TOMAP('key1', 'val1', 'key2', 'val2'....)

## Examples

`Decrypt(‘my encrypted message’, ‘keyARN’, TOMAP('key1','val1'))` returns the original plaintext data

## Return value datatype

String containing the original plaintext data.

<Note>
  **Note**:

  *Decrypt is a premium Integrate.io ETL function, please contact your Integrate.io ETL Account Manager or email [hello@integrate.io ETL.com](mailto:%20hello@integrate.io%20ETL.com) to have this feature added to your account.*
</Note>
