QuestionQ100

VerifiedSecurity

A developer is building an application that stores sensitive user data. The application includes an Amazon CloudFront distribution and multiple AWS Lambda functions that handle user requests.

The user requests contain over 20 data fields. Each application transaction contains sensitive data that must be encrypted. Only specific parts of the application need to have the ability to decrypt the data.

Which solution will meet these requirements?

Explanation

CloudFront's native field-level encryption feature is limited to encrypting up to 10 fields per request, so protecting more than 20 sensitive fields requires a custom approach: a Lambda@Edge function that performs asymmetric encryption on the required fields using an RSA public key, with the private counterpart managed in AWS KMS so decryption is restricted to only the application components granted key access. The built-in field-level encryption configuration (option using WebSockets and a KMS-backed profile) cannot scale past its 10-field limit and mixing in WebSockets forwarding is unrelated to the encryption requirement.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!