plusplusjiajia commented on code in PR #2651:
URL: https://github.com/apache/iceberg-rust/pull/2651#discussion_r3415277055
##########
crates/catalog/rest/src/catalog.rs:
##########
@@ -825,6 +822,8 @@ impl Catalog for RestCatalog {
let request = context
.client
.request(Method::GET, context.config.table_endpoint(table_ident))
+ // Opt in to vended storage credentials.
+ .header("X-Iceberg-Access-Delegation", "vended-credentials")
Review Comment:
@xanderbailey Thanks for the catch. Reworked to match the Java client:
dropped the dedicated prop and rely on the existing generic header.* config
(extra_headers). Vended credentials are opt-in via
header.X-Iceberg-Access-Delegation=vended-credentials, applied to all requests
like Java's RESTUtil.configHeaders — no hardcoded default.
--
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]