Serving images from s3 publicly in 2023

0

Amazon now disabled the ability to remove encryption to S3 buckets as I understand - ALL items uploaded to s3 buckets are now encrypted. Thus, serving them publicly in the simplest of use-cases - images for the website - became impossible. I tried ALL previous scenarious - made the bucket public, added policy for public access, made individual images public - nothing works, I get the following error:

<Error>
<Code>InvalidArgument</Code>
<Message>Requests specifying Server Side Encryption with AWS KMS managed keys require AWS Signature Version 4.</Message>
<ArgumentName>Authorization</ArgumentName>
<ArgumentValue>null</ArgumentValue>
<RequestId>3KHC8F0T2XFY13K7</RequestId>
<HostId>qNCSYKdwRLpg1JNuKr6L4vczLWekBk23KXfRf/qkYsWwbkrYxOI+BN4KyzbVqAFSpkOiSwrYUKRmY3bRbUOnUQ==</HostId>
</Error>

which basically means I have to sign the request with my credentials.

Is there ANY way in 2023 to serve the image files publicly WITHOUT the need to provide decryption credentials?

Thank you very much.

1回答
1
承認された回答

Yes, encrypt with S3 managed keys.

profile pictureAWS
エキスパート
kentrad
回答済み 1年前
  • I killed 2 hours on this, thank you kind Sir, it worked.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ