# Connect Amazon Key Management Service (KMS) to Workato EKM

Using Amazon Key Management Service (KMS) with Workato Enterprise Key Management (EKM) allows you to bring your own encryption keys to Workato. In addition to meeting compliance and security requirements, you can view detailed activity logs in AWS KMS and stay informed of when and where you can access data.

This guide explains how to create a key in AWS KMS and configure EKM in Workato.


# Prerequisites

To perform the tasks in this guide, you'll need:


# Step 1: Create and configure the key

# Step 1.1: Retrieve the Workato key policy

1

Sign in to your Workato account if you haven't already.

2

Navigate to Settings > Key management.

3

In the How do you want to encrypt your data? field, select AWS KMS key from the drop-down.

4

Click Step 1 to access the key policy.

The AWS Key policy on the Workato Key management settings page

You need this page to complete the next step.

# Step 1.2: Configure the key in AWS

NOTE

While this tutorial explains how to create a new key, you can use an existing key.

1

Sign in to your AWS Management Console and open the KMS console (opens new window).

2

In the navigation pane, click Customer managed keys.

3

On the Customer managed keys page, click Create key.

4

On the Step 1 - Configure key page:

1

Configure the following fields:

The Configure key page in AWS KMS

2

Click Next.

5

On the Step 2 - Add labels page:

1

In the Alias field, enter a display name for the key.

2

Configure other fields as needed.

3

Click Next.

6

Proceed through the remaining steps in AWS, configuring fields as needed. Click Next to proceed to the next page.

7

When you reach the Step 5 - Review page:

1

Navigate to the tab where your Workato account settings page from step 1.1 is open.

2

Copy the contents of the Permission to access key field.

3

In AWS, paste the contents into the Statement property of the default policy in the Key policy field.

Note: If there are multiple objects in the Statement property you must keep, add commas (,) after all but the last object:

Key policy with multiple Statement objects
{
    "Id": "key-consolepolicy-3",
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Enable IAM User Permissions",
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::TODO-ACCOUNTID:root"
            },
            "Action": "kms:*",
            "Resource": "*"
        },	 /* Comma before next object */ 
        {
	        "Sid": "Allow use of the key",
	        "Effect": "Allow",
	        "Principal": {
	            "AWS": "arn:aws:iam::TODO - ACCOUNTID:role/Workato_EKM"
	        },
	        "Action": [
	            "kms:Encrypt",
	            "kms:Decrypt"
	        ],
	        "Resource": "*"
	    }
    ]
}

Otherwise, the key policy is similar to the following:

Key policy with a single Statement object
{
    "Id": "key-consolepolicy-3",
    "Version": "2012-10-17",
    "Statement": [
	    {
	        "Sid": "Allow use of the key",
	        "Effect": "Allow",
	        "Principal": {
	            "AWS": "arn:aws:iam::TODO - ACCOUNTID:role/Workato_EKM"
	        },
	        "Action": [
	            "kms:Encrypt",
	            "kms:Decrypt"
	        ],
	        "Resource": "*"
	    }
   ]
}
4

Click Finish to create the key.

# Step 1.3: Enable auto-rotation

NOTE

Enabling automatic key rotation (opens new window) is a best practice, but not required.

1

Navigate to the Customer managed keys page.

2

Locate the key you created in the list and click to open.

3

Click the Key rotation tab.

4

Check the Automatically rotate this KMS key every year box:

The Key rotation tab and enablement checkbox in the Key Details page of AWS

5

Click Save.


# Step 2: Add the key in Workato

# Step 2.1: Retrieve the key ARN in AWS

1

Navigate to the Customer managed keys page, and click the key you created to open its details page.

2

On the key's details page, locate the General configuration section and the ARN field:

Highlighted ARN field in the General Configuration section of the key details page in AWS

3

Copy the ARN, as you'll need it to complete the next step.

# Step 2.2: Set up the key in Workato

1

Navigate to the tab where your Workato account settings page is open.

2

Paste the ARN in the Key ARN field.

3

Click Update key.


# Troubleshoot key validation errors

If you encounter an error after clicking Update key, verify that:

  • You correctly added the key policy to the key in AWS KMS. Verify that the key policy is valid JSON and contained in the Statement property.
  • You pasted the correct key ARN into Workato. Verify the key ARN doesn't contain extra spaces or characters, and that you pasted the correct value into Workato.
  • AWS KMS isn't experiencing downtime. If you've verified the key policy and ARN are correct, check the AWS Health Dashboard (opens new window) for potential outages in KMS.


Last updated: 2/3/2025, 7:19:51 PM