For the complete documentation index, see llms.txt. This page is also available as Markdown.

SSE-KMS Encryption

This section describes how to connect an AWS S3 Bucket with SSE-KMS Encryption enabled. General instructions for configuring your AWS account to allow Platform Core to connect to an S3 bucket are found on this page.

Connect an AWS S3 Bucket with SSE-KMS Encryption Enabled

Create an S3 bucket with SSE-KMS

Follow the AWS instructions for how to create S3 bucket with SSE-KMS key.

In the "Default encryption" section, enable Server-side encryption and choose AWS Key Management Service key (SSE-KMS). Then select Choose your AWS KMS key.

If you do not have an existing customer managed key, click Create a KMS key and follow these steps from AWS.

sse-kms-1

Connect the S3-SSE-KMS to Platform Core

Follow the general instructions for connecting an S3 bucket to Platform Core.

  • Add permission to use KMS key by adding kms:Decrypt, kms:Encrypt, and kms:GenerateDataKey

  • Add the ARN KMS key arn:aws:kms:xxx on the first "Resource"

  • Depending on the bucket type (Unversioned, Versioned or Suspended) the permissions must match the following.

At the end of the policy setting, there should be 3 permissions listed in the "Summary".

sse-kms-2

Create S3-SSE-KMS configuration in Platform Core

Follow the general instructions for how to create a storage configuration in Platform Core.

On step 3 in process above, continue with the [Optional] Server Side Encryption to enter the algorithm and key name for server-side encryption processes.

  • On "Algorithm", input aws:kms

  • On "Key Name", input the ARN KMS key: arn:aws:kms:xxx

Cross-Account Copy Setup for S3 buckets with SSE-KMS encryption

KMS Policy

In addition to following the instructions to Enable Cross-Account Access (IAM User) and Enable Cross-Account Access (IAM Role), the KMS policy must include the following statement for AWS S3 Bucket with SSE-KMS Encryption (refer to the Role ARN table from the IAM user or IAM role page for the ASSUME_ROLE_ARN value):

Key Update

If your bucket uses SSE-KMS encryption with a self-managed key and you want to update your key, two things must stay in sync for Illumina to read your data:

  • The key must match: the key configured in your Illumina volume / storage configuration must be the same key that is actually used to encrypt the objects in your bucket.

  • Decrypt permission must be retained: the identity Illumina uses to read your objects must keep permission to decrypt with that key (the key policy must grant kms:Decrypt to that account/role).

Changing your bucket's default encryption key, rotating to a new key, or restricting the key policy without updating your Illumina configuration can cause access-denied errors on files that were otherwise copied correctly.

Last updated

Was this helpful?