-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add WithUseFIPSEndpoint
to aws.Config
#5078
Conversation
@lucix-aws What's the right way to get review on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@reedloden This is fine but it needs to take a bool like WithUseDualStack does since it's an explicit call.
Lines 241 to 242 in 15ccb94
aws-sdk-go/aws/endpoints/endpoints.go Lines 32 to 44 in 15ccb94
|
Yes, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(see above)
1325129
to
f58c108
Compare
Ok. I was trying to provide all three options to users (to allow them to even unset it if it had been previously set), but this will still be an improvement. Updated based on what I believe you're looking for. |
Yeah I see where you were coming from. The whole |
=== ### Service Client Updates * `service/iam`: Updates service documentation * Documentation updates for AWS Identity and Access Management (IAM). ### SDK Enhancements * `aws`: Add `WithUseFIPSEndpoint` to `aws.Config`. ([#5078](#5078)) * `WithUseFIPSEndpoint` can be used to explicitly enable or disable FIPS endpoint variants.
Release v1.49.10 (2023-12-26) === ### Service Client Updates * `service/iam`: Updates service documentation * Documentation updates for AWS Identity and Access Management (IAM). ### SDK Enhancements * `aws`: Add `WithUseFIPSEndpoint` to `aws.Config`. ([#5078](#5078)) * `WithUseFIPSEndpoint` can be used to explicitly enable or disable FIPS endpoint variants.
Decided to keep the current code as-is, so removing the TODOs aws/aws-sdk-go#5078 was landed upstream, so bump `aws-sdk-go` to pick up the change. Note that this new functionality is not used, but would like to keep it updated so it can possibly be used in the future without needing to bump the SDK version.
The ability to chain
UseFIPSEndpoint
was missing.