-
- Downloads
fix use_fips in provider config (#3007)
I'm not 100% that I fixed this in the right way. Feel free to set me
straight if that's the case.
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here -->
aws-sdk-rust#882
## Description
<!--- Describe your changes in detail -->
This change causes the`ProviderConfig` to respect both `use_fips` and
`use_dual_stack` when those settings are configured in a user's
environment or profile.
## Testing
<!--- Please describe in detail how you tested your changes -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->
I wrote two tests
## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the
smithy-rs codegen or runtime crates
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS
SDK, generated SDK code, or SDK runtime crates
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
---------
Co-authored-by:
John DiSanti <jdisanti@amazon.com>
Showing
- CHANGELOG.next.toml 6 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-config/src/default_provider/credentials.rs 3 additions, 0 deletions...st-runtime/aws-config/src/default_provider/credentials.rs
- aws/rust-runtime/aws-config/src/environment/credentials.rs 1 addition, 1 deletionaws/rust-runtime/aws-config/src/environment/credentials.rs
- aws/rust-runtime/aws-config/src/lib.rs 17 additions, 12 deletionsaws/rust-runtime/aws-config/src/lib.rs
- aws/rust-runtime/aws-config/src/profile/credentials.rs 8 additions, 9 deletionsaws/rust-runtime/aws-config/src/profile/credentials.rs
- aws/rust-runtime/aws-config/src/profile/credentials/exec.rs 12 additions, 9 deletionsaws/rust-runtime/aws-config/src/profile/credentials/exec.rs
- aws/rust-runtime/aws-config/src/provider_config.rs 55 additions, 7 deletionsaws/rust-runtime/aws-config/src/provider_config.rs
- aws/rust-runtime/aws-config/src/sso.rs 9 additions, 18 deletionsaws/rust-runtime/aws-config/src/sso.rs
- aws/rust-runtime/aws-config/src/sts.rs 0 additions, 19 deletionsaws/rust-runtime/aws-config/src/sts.rs
- aws/rust-runtime/aws-config/src/sts/assume_role.rs 6 additions, 8 deletionsaws/rust-runtime/aws-config/src/sts/assume_role.rs
- aws/rust-runtime/aws-config/src/test_case.rs 9 additions, 0 deletionsaws/rust-runtime/aws-config/src/test_case.rs
- aws/rust-runtime/aws-config/src/web_identity_token.rs 1 addition, 1 deletionaws/rust-runtime/aws-config/src/web_identity_token.rs
- aws/rust-runtime/aws-config/test-data/default-provider-chain/e2e_fips_and_dual_stack_sso/env.json 7 additions, 0 deletions...fault-provider-chain/e2e_fips_and_dual_stack_sso/env.json
- aws/rust-runtime/aws-config/test-data/default-provider-chain/e2e_fips_and_dual_stack_sso/fs/home/.aws/config 6 additions, 0 deletions...der-chain/e2e_fips_and_dual_stack_sso/fs/home/.aws/config
- aws/rust-runtime/aws-config/test-data/default-provider-chain/e2e_fips_and_dual_stack_sso/fs/home/.aws/sso/cache/dace00cba5f8355ec9d274ceb2bcebdfbeed0e12.json 5 additions, 0 deletions...s/sso/cache/dace00cba5f8355ec9d274ceb2bcebdfbeed0e12.json
- aws/rust-runtime/aws-config/test-data/default-provider-chain/e2e_fips_and_dual_stack_sso/http-traffic.json 93 additions, 0 deletions...vider-chain/e2e_fips_and_dual_stack_sso/http-traffic.json
- aws/rust-runtime/aws-config/test-data/default-provider-chain/e2e_fips_and_dual_stack_sso/test-case.json 12 additions, 0 deletions...provider-chain/e2e_fips_and_dual_stack_sso/test-case.json
- aws/rust-runtime/aws-config/test-data/profile-provider/e2e_fips_and_dual_stack_sts/env.json 3 additions, 0 deletions...ata/profile-provider/e2e_fips_and_dual_stack_sts/env.json
- aws/rust-runtime/aws-config/test-data/profile-provider/e2e_fips_and_dual_stack_sts/fs/home/.aws/config 9 additions, 0 deletions...-provider/e2e_fips_and_dual_stack_sts/fs/home/.aws/config
- aws/rust-runtime/aws-config/test-data/profile-provider/e2e_fips_and_dual_stack_sts/fs/home/.aws/credentials 3 additions, 0 deletions...ider/e2e_fips_and_dual_stack_sts/fs/home/.aws/credentials
Loading
Please register or sign in to comment