Closed
Description
Pre-Migration Checklist
- I've read the Migration Guide.
- I've checked AWS Forums and StackOverflow for similar migration issues.
Go Version Used
Go 1.21
Describe the Migration Issue
In AWS SDK Go v1, we previously used S3DisableContentMD5Validation
to avoid computing MD5 checksums in the PutObject
API call in FIPS systems:
From https://docs.aws.amazon.com/sdk-for-go/api/aws/:
// S3DisableContentMD5Validation config option is temporarily disabled,
// For S3 GetObject API calls, #1837.
//
// Set this to `true` to disable the S3 service client from automatically
// adding the ContentMD5 to S3 Object Put and Upload API calls. This option
// will also disable the SDK from performing object ContentMD5 validation
// on GetObject API calls.
S3DisableContentMD5Validation *bool
I saw the comment in #1040 (comment), but I'm not sure if this meant it was possible to disable MD5 outright.
Could someone clarify what needs to be done here?
Code Comparison
V1:
cfg := &aws.Config{
S3DisableContentMD5Validation: aws.Bool(True),
}
Observed Differences/Errors
There's no obvious way to set S3DisableContentMD5Validation
.
Additional Context
No response