You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "YuangGao (via GitHub)" <gi...@apache.org> on 2026/05/10 22:10:15 UTC
[PR] feat(services/s3): support configuring assume role duration_seconds [opendal]
YuangGao opened a new pull request, #7495:
URL: https://github.com/apache/opendal/pull/7495
# Which issue does this PR close?
Closes #4976.
# Rationale for this change
AWS STS AssumeRole defaults to a 1-hour session duration.
Upstream `reqsign-aws-v4` v3.0.0 already exposes `AssumeRoleCredentialProvider::with_duration_seconds(u32)`, so this PR is purely a config exposure on the OpenDAL side.
# What changes are included in this PR?
- Add `assume_role_duration_seconds: Option<u32>` field to `S3Config`.
- Add `S3Builder::assume_role_duration_seconds` builder method.
- Pass the value through in `S3Builder::build`, mirroring the existing `external_id` / `role_session_name` wiring.
# Are there any user-facing changes?
Yes — a new public config field and a new builder method. Not a breaking change: the field is `Option<u32>` defaulting to `None`, which preserves current behavior.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(services/s3): support configuring assume role duration_seconds [opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo merged PR #7495:
URL: https://github.com/apache/opendal/pull/7495
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org