Review the Redshift cluster encryption key

Distinguish Redshift default encryption from requirements for a customer managed key.

Description

New provisioned Redshift clusters are encrypted by default. Check the actual key on existing clusters and on clusters restored from snapshots.

Potential impact

A default key may fall short of access or audit requirements. Disabling or deleting a customer managed key in use can interrupt data access and recovery.

Remediation

For direct control of key policy and lifecycle, set Encrypted: true and supply the required key in KmsKeyId. Retain the permissions Redshift needs and account for backup retention when rotating or retiring keys. For an existing cluster, check the supported key-change process and its service impact before proceeding.

Examples

For deployment, specify ClusterType and, for a multi-node cluster, NumberOfNodes. Supply a compatible RedshiftNodeType and the subnet group. Redshift manages the administrator password.

Before

yaml
Resources:
  RedshiftCluster:
    Type: AWS::Redshift::Cluster
    Properties:
      ClusterSubnetGroupName: !Ref RedshiftClusterSubnetGroup
      DBName: analytics
      MasterUsername: admin
      ManageMasterPassword: true
      PubliclyAccessible: true
      NodeType: !Ref RedshiftNodeType
      Port: 5439

After

yaml
Resources:
  RedshiftCluster:
    Type: AWS::Redshift::Cluster
    Properties:
      ClusterSubnetGroupName: !Ref RedshiftClusterSubnetGroup
      DBName: analytics
      MasterUsername: admin
      ManageMasterPassword: true
      PubliclyAccessible: true
      NodeType: !Ref RedshiftNodeType
      Port: 5439
      Encrypted: true
      KmsKeyId: !Ref RedshiftKeyArn

The second excerpt selects RedshiftKeyArn for cluster encryption. Verify the applied key and review network access separately, since both excerpts set PubliclyAccessible: true.

References