AWS SDK for .NET Documentation
ServerSideEncryptionCustomerProvidedKey Property
AmazonAmazon.S3.ModelGetObjectMetadataRequestServerSideEncryptionCustomerProvidedKey Did this page help you?   Yes   No    Tell us about it...
The base64-encoded encryption key for Amazon S3 to use to decrypt the object

Using the encryption key you provide as part of your request Amazon S3 manages both the encryption, as it writes to disks, and decryption, when you access your objects. Therefore, you don't need to maintain any data encryption code. The only thing you do is manage the encryption keys you provide.

When you retrieve an object, you must provide the same encryption key as part of your request. Amazon S3 first verifies the encryption key you provided matches, and then decrypts the object before returning the object data to you.

Important: Amazon S3 does not store the encryption key you provide.

Declaration Syntax
C#
public string ServerSideEncryptionCustomerProvidedKey { get; set; }

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)