Redshift Serverless namespaces should be encrypted with customer managed AWS KMS keys
Checks that the Amazon Redshift Serverless namespace is encrypted at rest with a customer managed AWS KMS key. With your own key you control its key policy, grants, rotation and whether it is enabled; the default AWS owned key and AWS managed keys such as aws/redshift fail.
- service
- RedshiftServerless
- severity
- Low
- scope
- evaluated in every region
How to fix it
- Interrupts service: Changing the key takes about fifteen minutes per 8TB of stored data, and no other action can be performed on the namespace until it finishes.
- Can't be undone: A namespace on a customer managed key cannot go back to an AWS key; that takes a new namespace, so pick a key you will keep.
In the console
Redshift Serverless → Namespace configuration → the namespace → Security and encryption → Edit
- Customize encryption settings
- Selected, with an AWS customer managed key (key manager Customer); you can create one here
With the AWS CLI
aws redshift-serverless update-namespace --namespace-name <namespace-name> --kms-key-id <kms-key-arn> --region <region>With Terraform
resource "aws_redshiftserverless_namespace" "this" {
namespace_name = var.namespace_name
kms_key_id = var.kms_key_arn
}
See which of your accounts this check is failing on.
Book a live scan