Skip to content

feat(aws): support IAM signing for S3 Express - #841

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/s3-express-iam-session-token
Aug 13, 2026
Merged

feat(aws): support IAM signing for S3 Express#841
Xuanwo merged 1 commit into
mainfrom
xuanwo/s3-express-iam-session-token

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Aug 12, 2026

Copy link
Copy Markdown
Member

Context

S3 Express uses CreateSession credentials and the S3 session-token representation by default. CopyObject, HeadBucket, and UploadPartCopy instead require IAM credentials while retaining the s3express SigV4 signing name. Reqsign already distinguished the header forms internally, but external callers could not select the IAM mode and presigning did not model both token representations.

This exposes a request-signer opt-in for the standard AWS session-token representation across header and query authentication. The default CreateSession representation remains unchanged, and the selection does not modify or replace the caller's Credential.

Deterministic protocol coverage checks exact canonical requests and signatures against the AWS SigV4 implementation and preserves redaction. Live AWS acceptance remains unrun because the gated directory-bucket environment is not configured locally.

Fixes #836

@Xuanwo
Xuanwo marked this pull request as ready for review August 13, 2026 08:33
@Xuanwo
Xuanwo merged commit d710bff into main Aug 13, 2026
51 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/s3-express-iam-session-token branch August 13, 2026 08:34
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.

Expose IAM session-token signing for S3 Express operations

1 participant