Decrypt

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: Decrypt is a premium Integrate.io ETL function, please contact your Integrate.io ETL Account Manager or email hello@integrate.io ETL.com to have this feature added to your account.