Skip to content

feat: S3 Express support #1906

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

Merged
merged 47 commits into from
Jun 23, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
76b7286
Add S3 codegen
jbelkins Mar 14, 2025
fec058f
Runtime & codegen changes
jbelkins Mar 14, 2025
9bf1e9f
Fix codegen tests
jbelkins Mar 14, 2025
6171042
Fix ktlint
jbelkins Mar 14, 2025
91d5131
fix Swiftlint
jbelkins Mar 14, 2025
1c23aeb
Merge branch 'main' into jbe/s3_express
jbelkins Mar 21, 2025
75d558a
Merge branch 'main' into jbe/s3_express
jbelkins Mar 24, 2025
f1c87c1
Add env var & profile config for disableS3ExpressSessionAuth
jbelkins Mar 27, 2025
a451df5
Merge branch 'main' into jbe/s3_express
jbelkins Mar 27, 2025
460a79a
Merge branch 'main' into jbe/s3_express
jbelkins Apr 7, 2025
5454f00
Merge branch 'main' into jbe/s3_express
jbelkins Apr 8, 2025
6e7e78e
Merge branch 'main' into jbe/s3_express
jbelkins Apr 11, 2025
d575d33
Merge remote-tracking branch 'origin/main' into jbe/s3_express
jbelkins Apr 11, 2025
47c4149
Merge branch 'main' into jbe/s3_express
jbelkins Apr 22, 2025
50cff85
Merge branch 'main' into jbe/s3_express
jbelkins Apr 30, 2025
d988d00
Merge branch 'main' into jbe/s3_express
jbelkins May 2, 2025
7cf6c65
Merge branch 'main' into jbe/s3_express
jbelkins May 8, 2025
151a456
Merge remote-tracking branch 'origin/main' into jbe/s3_express
jbelkins May 21, 2025
3839fbb
Merge branch 'main' into jbe/s3_express
jbelkins May 23, 2025
0228f07
Merge branch 'main' into jbe/s3_express
jbelkins Jun 2, 2025
65f2160
Add integration test
jbelkins Jun 5, 2025
7fcdae0
Merge branch 'main' into jbe/s3_express
jbelkins Jun 5, 2025
92c906a
Set client config on S3 only
jbelkins Jun 5, 2025
b629602
Fix lint, provide error types
jbelkins Jun 5, 2025
837860e
Add S3 codegen changes
jbelkins Jun 5, 2025
3ba7b6e
Merge branch 'main' into jbe/s3_express
jbelkins Jun 5, 2025
fa00696
Fix ktlint & codegen tests
jbelkins Jun 5, 2025
39ba60e
Merge remote-tracking branch 'origin/main' into jbe/s3_express
jbelkins Jun 5, 2025
4159fa0
Merge remote-tracking branch 'origin/jbe/s3_express' into jbe/s3_express
jbelkins Jun 5, 2025
d947a97
Merge branch 'main' into jbe/s3_express
jbelkins Jun 10, 2025
c03e6b2
Added integration tests
jbelkins Jun 12, 2025
75a2d96
Merge branch 'main' into jbe/s3_express
jbelkins Jun 12, 2025
477782a
Add comments, fix Linux tests
jbelkins Jun 12, 2025
1495354
Merge branch 'main' into jbe/s3_express
jbelkins Jun 12, 2025
9fa6047
Fix Swiftlint
jbelkins Jun 12, 2025
16d2404
Fix integration tests on Linux/Swift 5.9
jbelkins Jun 12, 2025
0a0f9f9
Unwrap client config before use
jbelkins Jun 13, 2025
243c5dd
Revert CRTFileBasedConfiguration change
jbelkins Jun 16, 2025
5bb1704
Merge branch 'main' into jbe/s3_express
jbelkins Jun 16, 2025
50fef3a
Merge branch 'main' into jbe/s3_express
jbelkins Jun 18, 2025
dd17b7d
Add import to fix build
jbelkins Jun 18, 2025
20d60c9
Add needed dependency to AWSSDKHTTPAuth
jbelkins Jun 18, 2025
cee061e
Merge remote-tracking branch 'origin/main' into jbe/s3_express
jbelkins Jun 18, 2025
41d61db
Merge branch 'main' into jbe/s3_express
jbelkins Jun 20, 2025
561894c
Delete unused UUID on S3 credential cache key type
jbelkins Jun 20, 2025
733e6ea
Merge branch 'main' into jbe/s3_express
jbelkins Jun 23, 2025
27552b1
Merge branch 'main' into jbe/s3_express
jbelkins Jun 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ extension AWSEndpointResolverMiddleware: ApplyEndpoint {
let authScheme = try authSchemeResolver.resolve(authSchemes: schemes)
signingAlgorithm = authScheme.name
switch authScheme {
case .sigV4(let param):
case .sigV4(let param), .sigV4S3Express(let param):
signingName = param.signingName
signingRegion = param.signingRegion
case .sigV4A(let param):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,17 @@ extension CRTFileBasedConfiguration: FileBasedConfiguration {
configFilePath: String? = nil,
credentialsFilePath: String? = nil
) async throws -> CRTFileBasedConfiguration {
let task = Task {
try CRTFileBasedConfiguration.make(
configFilePath: configFilePath,
credentialsFilePath: credentialsFilePath
)
try await withCheckedThrowingContinuation { continuation in
do {
let fileBasedConfig = try CRTFileBasedConfiguration.make(
configFilePath: configFilePath,
credentialsFilePath: credentialsFilePath
)
continuation.resume(returning: fileBasedConfig)
} catch {
continuation.resume(throwing: error)
}
}
return try await task.value
}

public func section(
Expand Down
Loading
Loading