plusplusjiajia opened a new pull request, #3092:
URL: https://github.com/apache/iceberg-rust/pull/3092
## Which issue does this PR close?
Split out of [#2660](https://github.com/apache/iceberg-rust/pull/2660),
stacked on [#3082](https://github.com/apache/iceberg-rust/pull/3082) — the
first five commits are that PR and drop out once it merges.
## What changes are included in this PR?
`SigV4AuthManager` wires the signer into `AuthManager`/`AuthSession`,
following Java's `RESTSigV4AuthManager`:
- one credential-free signer serves every session, as Java's single
`Aws4Signer.create()` does;
- the **session** holds the credentials provider and resolves it **per
request**, like Java's `resolveCredentials()` inside `sign`, leaving caching to
the provider;
- the delegate authenticates first, so a bearer token is relocated to
`Original-Authorization` and signed over;
- every session method rebuilds from the properties it is given, as Java
builds a fresh `AwsProperties` in each.
Properties use Java's names: `rest.signing-region`, `rest.signing-name`
(default `execute-api`), `rest.access-key-id`, `rest.secret-access-key`,
`rest.session-toke
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]