aws / aws-sdk-java-v2

The official AWS SDK for Java - Version 2
Apache License 2.0
2.2k stars 853 forks source link

Adding tests for overriding credentials or credentials providers #5534

Closed cenedhryn closed 2 months ago

cenedhryn commented 2 months ago

The motivation for these tests are to show how the SDK supports use cases where customers want to override credentials per request through execution interceptors.

joviegas commented 2 months ago

How will the users discover this test cases , are we linking this file in Developer guide or any other places ?

cenedhryn commented 2 months ago

It's not necessarily the customers who need to discover these tests, but that we didn't have test coverage for these scenarios before but there are legitimate use cases where these types of overrides are necessary.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
7 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud