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 Answer
2
Accepted Answer

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
EXPERT
answered a year ago
profile pictureAWS
EXPERT
kentrad
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions