Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fox-s3: presigned url method gives an error #24

Open
facugarbino opened this issue Sep 23, 2021 · 0 comments · May be fixed by #36
Open

fox-s3: presigned url method gives an error #24

facugarbino opened this issue Sep 23, 2021 · 0 comments · May be fixed by #36
Assignees
Labels
Milestone

Comments

@facugarbino
Copy link
Contributor

The URL generated gives this 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>W85KT5SCCQ4CG6C4</RequestId> <HostId>3LGvofRzasRgcRYE64I0ZuCoqJASJqKpSUewXK2hAOss+r3WBpbuy8JIAGEgyZvecCng9CS1bn8=</HostId> </Error>

It's probably related to the way we're instantiating the s3 client. Instantiating it like this worked for me:
AmazonS3 s3Client = AmazonS3ClientBuilder.standard() .withRegion(Regions.US_EAST_1) .withCredentials(awsStaticCredentialsProvider) .build();

@josematiasrivero josematiasrivero added this to the RELEASE-0.1 milestone Nov 15, 2021
@giuliano-ensolvers giuliano-ensolvers self-assigned this Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants