0

I am using Aws SDK (.Net) and trying to create lambda function which needs encrypt an object while uploading to S3 bucket (encryption SSE KMS customer managed key) .

Please help on below queries

1)how can I access the KMS CMK from lambda c# code?

  1. how to use that CMK key in S3 Putobject request serverside encryption type?

1 Answers1

0

For the PutObjectRequest, set the serverSideEncryption("aws:kms") and build the put object request.

Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77