Skip to content

feat(aws): resolve S3 Express config from bucket - #839

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/s3-express-config-from-bucket
Aug 13, 2026
Merged

feat(aws): resolve S3 Express config from bucket#839
Xuanwo merged 1 commit into
mainfrom
xuanwo/s3-express-config-from-bucket

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Aug 12, 2026

Copy link
Copy Markdown
Member

Context

S3ExpressSessionConfig::new required callers with a complete directory bucket name and Region to duplicate reqsign's Zone ID and partition resolution before they could obtain the Zonal endpoint.

This adds S3ExpressSessionConfig::from_bucket, which validates the complete directory bucket name, extracts and binds its Zone ID, derives the supported partition from the explicit Region, and constructs the existing AWS or AWS China endpoint. The compatibility provider now uses the same resolver, while the explicit constructor remains available and behavior-compatible.

Live AWS acceptance remains unrun because the gated S3 Express bucket environment is not configured locally; deterministic endpoint, validation, redaction, and pre-I/O coverage is included.

Fixes #834

@Xuanwo
Xuanwo marked this pull request as ready for review August 12, 2026 09:26
@Xuanwo
Xuanwo merged commit 9d3208e into main Aug 13, 2026
51 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/s3-express-config-from-bucket branch August 13, 2026 06:37
Xuanwo added a commit that referenced this pull request Aug 13, 2026
Preserve S3 Express config-from-bucket resolution from #839 and typed
maximum-allowed CreateSession selection from #840.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a bucket-and-region constructor for S3 Express session configuration

1 participant