Setting up AWS KMS for customer-managed keys
Last updated: 2026-11-27Before you can use customer-managed keys (CMK), create a symmetric key in Amazon Web Services (AWS) and add a key policy that lets Qlik Cloud use the key to encrypt and decrypt your tenant data.
Complete these steps in your AWS account first. When the key is ready, add it to your tenant as a key provider. See Configuring customer-managed keys.
Before you begin
Make sure that you have:
- An AWS account. If you don't have one, go to Amazon Web Services and create an account. Your account must be in the same region as your Qlik Cloud tenant.
- Permission in AWS to create keys and edit key policies.
- Your Qlik Cloud tenant ID. To find it, select your user profile in any activity center, and then select About. Copy the string under Tenant ID. Don't use the display name or alias hostname from the Tenant tab on the About page in the Administration activity center.
- A decision on whether you need a single-region or a multi-region key. See Regions and disaster recovery.
Create an AWS KMS key
Create the key in the AWS KMS Management Console, or through the AWS KMS API using the CreateKey command. Use these settings:
| Setting | Value |
|---|---|
| Key type | Symmetric. CMK doesn't support asymmetric keys. |
| Key usage | Encrypt and decrypt |
| Key material origin | KMS |
| Region | The region where your Qlik Cloud tenant is hosted |
| Regionality | Multi-region key, or single-region key if your region requires it |
While you create the key, you can also:
-
Enter a key alias.
-
Define the IAM users and roles who can administer the key.
-
Select the IAM users and roles who can use the key in cryptographic operations.
-
Configure the key policy.
For more information, see Create a KMS key in the AWS documentation.
Supported regions and backup regions
Select the AWS region where your Qlik Cloud tenant is hosted. For a multi-region key, create the replica in the backup region listed below.
| Primary region name | Primary region code | Backup region name | Backup region code |
|---|---|---|---|
| US East (North Virginia) | us-east-1 | US East (Ohio) | us-east-2 |
| Asia Pacific (Mumbai) | ap-south-1 | Asia Pacific (Hyderabad) | ap-south-2 |
| Asia Pacific (Singapore) | ap-southeast-1 | Asia Pacific (Seoul) | ap-northeast-2 |
| Asia Pacific (Sydney) | ap-southeast-2 | Asia Pacific (Melbourne) | ap-southeast-4 |
| Asia Pacific (Tokyo) | ap-northeast-1 | Asia Pacific (Osaka) | ap-northeast-3 |
| Canada (Montréal) | ca-central-1 | Canada (Alberta) | ca-west-1 |
| Europe (Frankfurt) | eu-central-1 | Europe (Milan) | eu-south-1 |
| Europe (Ireland) | eu-west-1 | Europe (Spain) | eu-south-2 |
| Europe (London) | eu-west-2 | Europe (Spain) | eu-south-2 |
| Europe (Paris) | eu-west-3 | N/A | N/A |
| Europe (Stockholm) | eu-north-1 | N/A | N/A |
| Israel (Tel Aviv) | il-central-1 | N/A | N/A |
| Middle East (UAE) | me-central-1 | N/A | N/A |
| South America (São Paulo) | sa-east-1 | N/A | N/A |
For more information about Qlik Cloud regions and backup locations, see Qlik Cloud Regions.
Create a multi-region key
Multi-region keys let you keep accessing and processing encrypted data when the primary region has an outage. You create a replica of the key in the backup region. You can decrypt data in the backup region, and data encrypted in the backup region can be decrypted in the primary region once it's restored.
Follow these steps to create a multi-region key in AWS KMS:
-
In the AWS Management Console, click on Create a key.
-
In Advanced options, set Key material origin to KMS. In Regionality , select Multi-region key. Click Next.
-
Enter an alias for the key. You can also add a description and tags. Click Next .
-
Select the IAM users and roles who can administer the key. Click Next.
-
Select the IAM users and roles that can use the key. Click Next.
-
Review the configuration. Make sure that Regionality is set to Multi-region key.
Configure the key policy
The key policy controls access to your AWS KMS key. Each key has its own policy. When you create a key in the AWS KMS Management Console, AWS KMS creates a default key policy based on your selections. This policy decides which IAM users and roles in your account can administer and use the key.
You must edit the default key policy to add the permissions and parameters that Qlik Cloud CMK needs. These are:
-
Qlik proxy roles: Allow the Qlik AWS proxy accounts and required IAM roles to generate a data key, encrypt data, and decrypt data using your key. To use CMK with Qlik Automate, you must also add the separate Automations IAM roles. Both are in the code snippets below
-
Your tenant ID: Qlik Cloud uses your tenant ID as the encryption context. AWS KMS uses the encryption context as additional authenticated data (AAD) to support authenticated encryption, so one tenant can't decrypt another tenant's cipher keys. If you use the same key for multiple tenants, include the tenant ID of each tenant in the key policy. See Encryption context in the AWS documentation.
Do the following:
- Check that your AWS account and your IAM users and roles are correct and included in the policy. Your policy might include other statements as well. For an example, see Example key policy.
-
Copy the code snippet below that applies to your subscription and add it to your key policy. For Qlik Cloud Government, use the Qlik Cloud Government code snippet.
Qlik Cloud code snippet
{ "Sid": "Enable Qlik's proxy roles to use the Customer's AWS KMS key to encrypt and decrypt data for the Qlik cloud tenant", "Effect": "Allow", "Principal": { "AWS": [ "arn:aws:iam::338144066592:role/byok-encryption-proxy-role", "arn:aws:iam::634246602378:role/byok-encryption-proxy-role", "arn:aws:iam::338144066592:role/byok-automations-proxy-role", "arn:aws:iam::634246602378:role/byok-automations-proxy-role" ] }, "Action": [ "kms:Encrypt", "kms:Decrypt", "kms:GenerateDataKey" ], "Resource": "*", "Condition": { "StringEquals": { "kms:EncryptionContext:TenantId": [ "QLIK_TENANT_ID" ] } } }Qlik Cloud Government code snippet
[ { "Sid": "Enable Qlik's proxy roles to use the Customer's AWS KMS key to encrypt and decrypt data for the Qlik cloud tenant", "Effect": "Allow", "Principal": { "AWS": [ "arn:aws-us-gov:iam::014729015091:role/byok-encryption-proxy-role", "arn:aws-us-gov:iam::014734359703:role/byok-encryption-proxy-role", "arn:aws-us-gov:iam::014729015091:role/byok-automations-proxy-role", "arn:aws-us-gov:iam::014734359703:role/byok-automations-proxy-role" ] }, "Action": [ "kms:Encrypt", "kms:Decrypt", "kms:GenerateDataKey" ], "Resource": "*", "Condition": { "StringEquals": { "kms:EncryptionContext:TenantId": [ "QLIK_TENANT_ID" ] } } }, { "Sid": "Enable KMS Key policy for proxy account", "Effect": "Allow", "Principal": { "AWS": [ "arn:aws-us-gov:iam::014729015091:role/byok-encryption-proxy-role", "arn:aws-us-gov:iam::014734359703:role/byok-encryption-proxy-role", "arn:aws-us-gov:iam::014729015091:role/byok-automations-proxy-role", "arn:aws-us-gov:iam::014734359703:role/byok-automations-proxy-role" ] }, "Action": "kms:DescribeKey", "Resource": "*" } ] -
In the EncryptionContext string, replace QLIK_TENANT_ID with your Qlik Cloud tenant ID.
- Save the key policy.
For more information about AWS KMS key policies, see Key policies in KMS in the AWS documentation.
Example key policy
The following example key policy shows the basic requirements for using an AWS KMS key with Qlik Cloud CMK.
-
Your AWS account and the IAM users and roles who can administer and use the key.
-
The Qlik accounts and IAM roles that are permitted to use the key for the cryptographic operations Encrypt, Decrypt, and GenerateDataKey.
-
The Qlik accounts and Automations IAM roles that are permitted to use the key with Qlik Automate.
-
The encryption context that identifies your tenant ID.
Selections B, C, and D are the parameters that Qlik Cloud CMK requires.
AWS KMS key policy example

Example key policy for a multi-region key
The following key policy includes all the requirements for using a multi-region key with Qlik Cloud CMK, including the kms:DescribeKey action. For more information,see DescribeKey.
Find your key ARN and alias ARN
An Amazon Resource Name (ARN) is a unique, fully qualified identifier for your KMS key. AWS KMS creates the ARN when you create the key.
When you add your key as a key provider in the Administration activity center, you enter the key ARN or the alias ARN. The Qlik Cloud encryption service uses it to connect to your AWS KMS key.
A) AWS KMS key ARN and B) alias ARN in AWS KMS

The ARN uses this format:
arn:<partition>:kms:<region>:<account-id>:key/<key-id>
Example of a valid key ARN:
arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
The alias ARN uses this format:
arn:<partition>:kms:<region>:<account-id>:alias/<alias-name>
Example of a valid alias ARN, where CMK-Example-Alias is the alias name:
arn:aws:kms:us-east-1:111122223333:alias/CMK-Example-Alias
For more information about finding the ARN or alias ARN of your key, see Find the key ID and key ARN or Find the alias name and alias ARN for a KMS key in the AWS documentation.
Next steps
When your key and key policy are ready, add the key to your tenant. See Configuring customer-managed keys.