You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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/27a0017a-67de-4dd3-b35d-07fcc06ae90c/insight/684a96e0-a817-4d3e-a503-c03367d49de5/ae9b548d-fc15-4fb3-ac85-87e903d6b23d?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/27a0017a-67de-4dd3-b35d-07fcc06ae90c/insight/684a96e0-a817-4d3e-a503-c03367d49de5/ae9b548d-fc15-4fb3-ac85-87e903d6b23d?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