Replies: 3 comments 2 replies
-
Can you share a code sample showing how you are creating the |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanx it worked now! I think its not working while creating S3Presigner with s3Client |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using java aws sdk2 and currently creating the s3 client using following manner.
S3Client.builder()
.region(Region.of(s3Region))
.credentialsProvider(credentialsProvider)
.overrideConfiguration(overrideConfig.build())
.endpointOverride(new URI("http://localhost:9000/"))
.serviceConfiguration(S3Configuration.builder()
.pathStyleAccessEnabled(true)
.build()).build();
S3Presigner is not taking s3Client property while generating presignURL
Current Behaviour - https://my-bucket.s3.amazonaws.com/test/images/testA/testB?response-content-disposition=attachment%3Bfilename%3D3.jpeg&response-content-type=&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241128T102148Z&X-Amz-SignedHeaders=host&X-Amz-Credential=minioadmin%2F20241128%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=240&X-Amz-Signature=444778c571ddb763f89683ac57ab2d3cc14aec41b1688535d5e34b9d217ee95c
Expected Behaviour :- http://localhost:9000/my-bucket/test/images/testA/testB?response-content-disposition=attachment%3Bfilename%3D3.jpeg&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241129T063424Z&X-Amz-SignedHeaders=host&X-Amz-Expires=239&X-Amz-Credential=minioadmin%2F20241129%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=49d4570ef4df69bf4bf437e7c9dfa1b2d4e6f50d3911e6c6d354c239fe7a0da5
Beta Was this translation helpful? Give feedback.
All reactions