Skip to content

Commit

Permalink
Merge pull request #190 from ing-bank/fix/minio-headers
Browse files Browse the repository at this point in the history
Remove x-amz-security-token header
  • Loading branch information
kr7ysztof authored Feb 22, 2024
2 parents b70acde + bab6c2a commit ca2ac2e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ trait RequestHandlerS3 extends S3Client with UserRequestQueue {
.withEntity(originalRequest.entity)
.addHeader(RawHeader("User-Agent", userAgent))
.removeHeader("Authorization")
.removeHeader("x-amz-security-token")
.addHeader(RawHeader("Authorization", npaRequest.getHeaders.get("Authorization")))

fireRequestToS3(newRequest, userSTS).flatMap { response =>
Expand Down

0 comments on commit ca2ac2e

Please sign in to comment.