Skip to content

Commit 87abf63

Browse files
committed
Merge branch 'main' into feature/credential-features
2 parents 3965ea8 + f2ec135 commit 87abf63

File tree

9 files changed

+216
-201
lines changed

9 files changed

+216
-201
lines changed

.changelog/1752160009.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,37 @@
11
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
2+
July 23rd, 2025
3+
===============
4+
5+
July 21st, 2025
6+
===============
7+
**New this release:**
8+
- :tada: (client, [smithy-rs#4203](https://github.com/smithy-lang/smithy-rs/issues/4203)) Add support for configuring auth schemes manually using an auth scheme preference list.
9+
The preference list allows customers to reprioritize the order of auth schemes originally
10+
determined by the auth scheme resolver.
11+
Customers can configure the auth scheme preference at the following locations, listed in order of precedence:
12+
1. Service Client Configuration
13+
```rust
14+
use aws_runtime::auth::sigv4;
15+
use aws_smithy_runtime_api::client::auth::AuthSchemeId;
16+
use aws_smithy_runtime_api::client::auth::http::HTTP_BEARER_AUTH_SCHEME_ID;
17+
18+
let config = aws_sdk_s3::Config::builder()
19+
.auth_scheme_preference([AuthSchemeId::from("scheme1"), sigv4::SCHEME_ID, HTTP_BEARER_AUTH_SCHEME_ID])
20+
// ...
21+
.build();
22+
```
23+
2. Environment Variable
24+
```
25+
AWS_AUTH_SCHEME_PREFERENCE=scheme1, sigv4, httpBearerAuth
26+
```
27+
3. Configuration File
28+
```
29+
auth_scheme_preference=scheme1, sigv4, httpBearerAuth
30+
```
31+
With this configuration, the auth scheme resolver will prefer to select them in the specified order,
32+
if they are supported.
33+
34+
235
July 17th, 2025
336
===============
437
**New this release:**

aws/SDK_CHANGELOG.next.json

Lines changed: 17 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,6 @@
55
{
66
"smithy-rs": [],
77
"aws-sdk-rust": [
8-
{
9-
"message": "Temporarily disable fetching account ID from IMDS credentials on EC2.\n",
10-
"meta": {
11-
"bug": false,
12-
"breaking": false,
13-
"tada": false
14-
},
15-
"author": "ysaito1001",
16-
"references": [
17-
"smithy-rs#4187"
18-
],
19-
"since-commit": "dd10f0602682dfabafc465dbcd9eb92d3d915c51",
20-
"age": 5
21-
},
22-
{
23-
"message": "Fix hyper 1.x connection refused errors not marked as retryable\n",
24-
"meta": {
25-
"bug": true,
26-
"breaking": false,
27-
"tada": false
28-
},
29-
"author": "aajtodd",
30-
"references": [],
31-
"since-commit": "dd10f0602682dfabafc465dbcd9eb92d3d915c51",
32-
"age": 5
33-
},
34-
{
35-
"message": "Make Rpc V2 CBOR a compatible protocol for `awsQuery` using `awsQueryCompatible` trait\n",
36-
"meta": {
37-
"bug": false,
38-
"breaking": false,
39-
"tada": false
40-
},
41-
"author": "ysaito1001",
42-
"references": [
43-
"smithy-rs#4186"
44-
],
45-
"since-commit": "dd10f0602682dfabafc465dbcd9eb92d3d915c51",
46-
"age": 5
47-
},
488
{
499
"message": "Allows customers to configure the auth schemes and auth scheme resolver. For more information see the GitHub [discussion](https://github.com/smithy-lang/smithy-rs/discussions/4197).\n",
5010
"meta": {
@@ -58,7 +18,7 @@
5818
"smithy-rs#4198"
5919
],
6020
"since-commit": "ccf374dddc0690ef8aca1ed006b9e9b21299558e",
61-
"age": 3
21+
"age": 5
6222
},
6323
{
6424
"message": "re-use checksums on retry attempts for enhanced durability\n",
@@ -70,7 +30,7 @@
7030
"author": "aajtodd",
7131
"references": [],
7232
"since-commit": "1378695258e645d2c65a99cc0311b8c3d982e167",
73-
"age": 2
33+
"age": 4
7434
},
7535
{
7636
"message": "Event streams now allocate a right-sized buffer avoiding repeated reallocations during serialization\n",
@@ -84,7 +44,21 @@
8444
"smithy-rs#4212"
8545
],
8646
"since-commit": "a23d116a79e8920c2efa813a8f831541a9943e4f",
87-
"age": 1
47+
"age": 3
48+
},
49+
{
50+
"message": "Add support for configuring auth schemes manually using an auth scheme preference list.\nThe preference list allows customers to reprioritize the order of auth schemes originally\ndetermined by the auth scheme resolver.\nCustomers can configure the auth scheme preference at the following locations, listed in order of precedence:\n1. Service Client Configuration\n```rust\nuse aws_runtime::auth::sigv4;\nuse aws_smithy_runtime_api::client::auth::AuthSchemeId;\nuse aws_smithy_runtime_api::client::auth::http::HTTP_BEARER_AUTH_SCHEME_ID;\n\nlet config = aws_sdk_s3::Config::builder()\n .auth_scheme_preference([AuthSchemeId::from(\"scheme1\"), sigv4::SCHEME_ID, HTTP_BEARER_AUTH_SCHEME_ID])\n // ...\n .build();\n```\n2. Environment Variable\n```\nAWS_AUTH_SCHEME_PREFERENCE=scheme1, sigv4, httpBearerAuth\n```\n3. Configuration File\n```\nauth_scheme_preference=scheme1, sigv4, httpBearerAuth\n```\nWith this configuration, the auth scheme resolver will prefer to select them in the specified order,\nif they are supported.\n",
51+
"meta": {
52+
"bug": false,
53+
"breaking": false,
54+
"tada": true
55+
},
56+
"author": "ysaito1001",
57+
"references": [
58+
"smithy-rs#4203"
59+
],
60+
"since-commit": "6649098171e33e1e65eaacffb12be58e858a4782",
61+
"age": 2
8862
}
8963
],
9064
"aws-sdk-model": []

aws/rust-runtime/Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws/rust-runtime/aws-config/Cargo.lock

Lines changed: 25 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)