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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南