ACIA Capstone study materials
ACIA Capstone study resources

Data Encryption and Key Management in a SaaS Startup

ACIA Capstone · Put your knowledge to work in context.

All case studies

Data Encryption and Key Management in a SaaS Startup

A SaaS startup, CloudDocs, provides document collaboration services to 10,000 businesses, including healthcare and financial clients. CloudDocs stores customer data in AWS S3 and uses AWS KMS for encryption at rest. Data in transit is protected with TLS 1.2. However, a security review found that: (1) KMS keys are managed by AWS (aws/s3 default key) with no customer-specific keys; (2) some S3 buckets containing sensitive data are publicly accessible due to misconfiguration; (3) TLS 1.2 is used but with weak cipher suites (e.g., CBC mode); (4) encryption keys are not rotated; (5) there is no key access auditing. CloudDocs' largest client demands compliance with SOC 2 and HIPAA, and has threatened to leave if issues are not fixed within 3 months. The engineering team estimates that implementing customer-managed KMS keys (CMKs) with rotation and auditing would take 2 months and cost $100,000. Fixing the public buckets and cipher suites would take 1 month and $20,000. The CTO wants to prioritize the client's demands but is concerned about the cost and timeline.

1. Prioritize the encryption and key management issues based on risk and compliance impact.

Read the worked answer

Prioritization: (1) Public S3 buckets: This is the highest risk because it exposes sensitive data directly to the internet. It is a critical misconfiguration that violates HIPAA and SOC 2 and could lead to a breach. Fix immediately (within days). (2) Weak cipher suites: Using CBC mode with TLS 1.2 is vulnerable to attacks like BEAST and Lucky Thirteen. This affects data in transit and could allow interception. Should be fixed within weeks by enabling TLS 1.3 or strong cipher suites (e.g., AEAD). (3) Lack of customer-managed keys and rotation: This is a significant compliance gap for HIPAA (requires encryption key management) and SOC 2 (requires key management controls). It also reduces customer trust. However, it requires more effort (2 months). Start immediately but it can be parallel with other fixes. (4) No key access auditing: This is important for detecting misuse and for compliance, but less urgent than the above. Implement alongside CMKs. The client's 3-month deadline is tight; the first two can be done in 1 month, and CMKs in 2 months, so all can be completed within 3 months if prioritized correctly.

2. What encryption and key management improvements would you recommend, and how would you justify the investment to the CTO?

Read the worked answer

Recommendations: (1) Implement customer-managed KMS keys (CMKs) for each customer or at least for sensitive data, with automatic rotation enabled. This provides segregation of duties and allows CloudDocs to control key policies. (2) Enable KMS key access auditing via CloudTrail and monitor for anomalous access. (3) Remediate public S3 buckets by using S3 Block Public Access at the account level and enforcing bucket policies. (4) Upgrade TLS configuration to TLS 1.3 or TLS 1.2 with AEAD cipher suites (e.g., AES-GCM), and disable CBC. (5) Implement a key management policy that includes rotation, access control, and disaster recovery. Justification: The investment of $120,000 and 3 months is necessary to retain the client, which likely represents significant revenue. Compliance with HIPAA and SOC 2 is non-negotiable for healthcare and financial clients. A breach due to public buckets or weak encryption could result in fines, lawsuits, and reputational damage far exceeding the cost. Additionally, CMKs and auditing are competitive differentiators that can attract more clients. The CTO should view this as a risk mitigation and business enablement investment, not just a cost.