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 Risposta
2
Risposta accettata

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
ESPERTO
con risposta un anno fa
profile pictureAWS
ESPERTO
kentrad
verificato un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande