'Show S3 SSE-C Encrypted Image using Presigned URL in the browser

Without any encryption, even for a file that resides in a bucket with no public access, I can create a presigned URL by modifying response-content-type header for an image with an expiry time and it would show the image in the browser. This is very helpful when I need to display the image in the browser using the src attribute of img HTML tag.

However, When I encrypt an image using SSE-C in S3, is there any way to show the image in the browser using presigned URL? I've some images which are encrypted using SSE-C in S3. However, in some cases they might required to be shown in the browser.

The documentation states this enter image description here aws docs link

Is there any way? Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source