wolflex888 commented on code in PR #1164:
URL: https://github.com/apache/polaris/pull/1164#discussion_r2038290010


##########
service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java:
##########
@@ -853,6 +854,19 @@ public Map<String, String> getCredentialConfig(
         storageInfo.get());
   }
 
+  @Override
+  public Map<String, String> getVendedCredentialConfig(TableIdentifier 
tableIdentifier) {
+    Map<String, String> vendedCredentialConfig = new HashMap<>();
+    String credentialsEndpoint =
+        String.format(
+            "/v1/%s/namespaces/%s/tables/%s/credentials",
+            catalogName, tableIdentifier.namespace().toString(), 
tableIdentifier.name());
+    
vendedCredentialConfig.put(AwsClientProperties.REFRESH_CREDENTIALS_ENABLED, 
"true");
+    vendedCredentialConfig.put(
+        AwsClientProperties.REFRESH_CREDENTIALS_ENDPOINT, credentialsEndpoint);

Review Comment:
   That was my question to the iceberg team as well, but they insist on having 
this property set so iceberg knows which endpoint to reach out to.



-- 
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: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to