- Newest
- Most votes
- Most comments
That’s an excellent question, and it shows you’re thinking about data protection and compliance early in your Cloud Intelligence Dashboards (CID) deployment lifecycle. The Cloud Intelligence Dashboards solution, including CUDOS and Trusted Advisor Organization (TAO) dashboards, provisions several S3 buckets through its CloudFormation templates to store Athena query results, QuickSight datasets, and processed CUR data. By default, these buckets are encrypted with SSE-S3 (AES-256). However, if your organization’s security or compliance policies require customer-managed keys (CMKs) through AWS Key Management Service (KMS), there are ways to incorporate that into your deployment.
Let’s look at how you can achieve that safely.
- Understanding how CID provisions its S3 buckets
The CID CloudFormation templates (for example, cudos-dashboard.yaml and cid-data-ingestion.yaml) create several S3 resources dynamically. These are defined with properties such as BucketEncryption, which defaults to SSEAlgorithm: AES256. This configuration can be modified to reference your own KMS key ARN by specifying the SSEAlgorithm as aws:kms and setting the KMSMasterKeyID property.
If you’re using the AWS Solutions-provided deployment through the AWS Solutions Library, it’s best to fork or clone the CID repository from the official Cloud Intelligence Dashboards GitHub repository and modify the CloudFormation templates before deploying. The GitHub deployment version gives you full visibility into how the resources are defined, unlike the Solutions Console deployment, which abstracts those templates.
- Using your own KMS key in the CloudFormation templates
Here’s an example of how you can modify an S3 bucket resource in the CID templates:
Resources: CURDataBucket: Type: AWS::S3::Bucket Properties: BucketEncryption: ServerSideEncryptionConfiguration: - ServerSideEncryptionByDefault: SSEAlgorithm: aws:kms KMSMasterKeyID: arn:aws:kms:us-east-1:111122223333:key/your-key-id
Make sure your QuickSight, Athena, and Lambda execution roles are granted kms:Encrypt, kms:Decrypt, kms:GenerateDataKey, and kms:DescribeKey permissions on that CMK. Without these permissions, your dashboard data ingestion and query jobs may fail.
- Updating the stack safely
If you’ve already deployed the CID using the default settings, avoid manually replacing encryption configurations on the existing buckets directly through the console, as it can cause drift in the CloudFormation stack. Instead, you can:
Export the stack templates using the AWS CLI (aws cloudformation get-template),
Edit the relevant S3 bucket resources to use your CMK,
And redeploy or update the stack with --use-previous-template if you’re making small parameter changes.
If your deployment is production-grade, test the changes in a non-production environment first to validate compatibility with Athena and QuickSight since both services rely on continuous access to those buckets.
- For organizations under strict encryption policies
If you manage CID across multiple AWS accounts or regions, you can define a Service Control Policy (SCP) in AWS Organizations to enforce KMS encryption on S3 buckets globally. This ensures future deployments also align with your encryption standards, even if templates are not customized.
You can find guidance for that pattern here:
AWS S3 default encryption : https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
Using KMS keys with S3 : https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html
CID deployment customization guide : https://aws-samples.github.io/aws-cudos-framework/
- Summary and recommendations
To summarize:
The CID CloudFormation templates do not natively expose a parameter for customer-managed KMS keys at this time.
You can safely enable KMS encryption by modifying the templates to reference your CMK.
Always grant the required IAM permissions to Athena, QuickSight, and Lambda service roles.
Use GitHub-based deployments for customization flexibility and maintainability.
Enforce organization-wide encryption standards with SCPs for future-proofing.
You’re asking exactly the right kind of question that signals strong governance awareness. By integrating your KMS policies directly into the CID deployment process, you’ll strengthen both compliance alignment and operational control, without sacrificing the automation benefits that CID provides.
answered a year ago
Relevant content
- AWS OFFICIALUpdated 18 days ago
