Skip to content

Conversation

@Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Oct 13, 2025

Which issue does this PR close?

Closes #6560

Rationale for this change

Migrate to reqsign core v2.

What changes are included in this PR?

opendal now accepts reqsign_core::ProvideCredentialChain instead.

Are there any user-facing changes?

+ pub fn credential_provider_chain(mut self, chain: ProvideCredentialChain<Credential>)
- pub fn customized_credential_load(self, cred: Box<dyn AwsCredentialLoad>)

Signed-off-by: Xuanwo <[email protected]>
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" labels Oct 13, 2025
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Xuanwo added a commit to apache/opendal-reqsign that referenced this pull request Oct 13, 2025
Fix part of apache/opendal#6656

In the real world, token files may contain non-URL-safe characters. This
PR handles them by trimming and encoding the tokens before sending them
out.

Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
@Xuanwo Xuanwo marked this pull request as draft October 13, 2025 08:15
@Xuanwo
Copy link
Member Author

Xuanwo commented Oct 13, 2025

This PR will need the new version of reqsign to work.

Signed-off-by: Xuanwo <[email protected]>
@Xuanwo
Copy link
Member Author

Xuanwo commented Oct 13, 2025

This PR is currently waiting for seanmonstar/reqwest#2837

Xuanwo added a commit to apache/opendal-reqsign that referenced this pull request Oct 19, 2025
Allow apache/opendal#6656 to pass.

---

**This PR was primarily authored with Codex using GPT-5-Codex and then
hand-reviewed by me. I AM responsible for every change made in this PR.
I aimed to keep it aligned with our goals, though I may have missed
minor issues. Please flag anything that feels off, I'll fix it
quickly.**

---------

Signed-off-by: Xuanwo <[email protected]>
@Xuanwo
Copy link
Member Author

Xuanwo commented Oct 21, 2025

reqsign has started a new release to address issues we met here: apache/opendal-reqsign#660

@Xuanwo
Copy link
Member Author

Xuanwo commented Nov 11, 2025

Let's merge this PR in the next version of opendal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to reqsign-core v1 for s3 service

1 participant