-
- Downloads
Ensure identity resolver is set when a credentials provider is given only at...
Ensure identity resolver is set when a credentials provider is given only at operation level (#3156) Fixes https://github.com/awslabs/aws-sdk-rust/issues/901 This PR is a rework of https://github.com/awslabs/smithy-rs/pull/3021 whose fix was inadvertently discarded during https://github.com/awslabs/smithy-rs/pull/3077. The way we fix the issue is slightly different. In this PR, we add an identity resolver to runtime components within `set_credentials_provider`, instead of using `ServiceConfig.OperationConfigOverride`. Added a Kotlin integration test to `CredentialProviderConfigTest.kt` based on the customer reported issue. <!--- 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 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._
Showing
- CHANGELOG.next.toml 6 additions, 0 deletionsCHANGELOG.next.toml
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/CredentialProviders.kt 29 additions, 53 deletions...lin/software/amazon/smithy/rustsdk/CredentialProviders.kt
- aws/sdk-codegen/src/test/kotlin/software/amazon/smithy/rustsdk/CredentialProviderConfigTest.kt 54 additions, 0 deletions...are/amazon/smithy/rustsdk/CredentialProviderConfigTest.kt
- aws/sdk/integration-tests/kms/tests/integration.rs 1 addition, 1 deletionaws/sdk/integration-tests/kms/tests/integration.rs
- aws/sdk/integration-tests/qldbsession/tests/integration.rs 1 addition, 1 deletionaws/sdk/integration-tests/qldbsession/tests/integration.rs
- aws/sdk/integration-tests/s3/tests/naughty-string-metadata.rs 1 addition, 1 deletion...sdk/integration-tests/s3/tests/naughty-string-metadata.rs
- aws/sdk/integration-tests/s3/tests/normalize-uri-path.rs 1 addition, 1 deletionaws/sdk/integration-tests/s3/tests/normalize-uri-path.rs
- aws/sdk/integration-tests/s3/tests/query-strings-are-correctly-encoded.rs 1 addition, 1 deletion...ion-tests/s3/tests/query-strings-are-correctly-encoded.rs
- aws/sdk/integration-tests/s3/tests/signing-it.rs 1 addition, 1 deletionaws/sdk/integration-tests/s3/tests/signing-it.rs
- aws/sdk/integration-tests/s3control/tests/signing-it.rs 2 additions, 2 deletionsaws/sdk/integration-tests/s3control/tests/signing-it.rs
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/ServiceRuntimePluginGenerator.kt 0 additions, 4 deletions...client/smithy/generators/ServiceRuntimePluginGenerator.kt
Loading
Please register or sign in to comment