Curl on a bucket crypted with sse-kms without header

0

Hello,

I am working on a project and I need to get object from a bucket s3 from an ec2 using curl. The bucket is crypted with sse-kms. The specificity is that I can’t add header to my request so I can’t put a signature v4 in it. I encounter a signature problem when trying to get object that I don’t get when I use sse-s3. So my question is, is it possible to get object from sse-kms encrypted object using curl without header ?

1回答
2
承認された回答

What about using a presigned URL to download with query parameters?
https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html

This allows you to set it as a parameter in the URL, not in the header.

profile picture
エキスパート
回答済み 1年前
profile pictureAWS
エキスパート
kentrad
レビュー済み 1年前

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

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

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

関連するコンテンツ