HonahX commented on code in PR #104:
URL: https://github.com/apache/iceberg-python/pull/104#discussion_r1381205188


##########
mkdocs/docs/configuration.md:
##########
@@ -195,6 +195,19 @@ catalog:
     table-name: iceberg
 ```
 
+If you prefer to pass the credentials explicitly to the client instead of 
relying on environment variables,
+
+```yaml
+catalog:
+  default:
+    type: dynamodb
+    table-name: iceberg

Review Comment:
   I think we have an inconsistency since the FileIO configurations use hyphens 
for s3 credentials:
   
https://github.com/apache/iceberg-python/blob/d8bc9a9909f77532681344762ae71713191c5cf9/mkdocs/docs/configuration.md?plain=1#L66-L67
   
   Also, what about adding a `dynamo.` prefix to these credential keys?
   ```
   dynamodb.access-key-id
   dynamodb.secret-access-key
   ...
   ```
   This could help clarify that these keys are used exclusively by the catalog, 
not the FileIO:
   
   Just thinking ahead, if we're in favor of renaming these configurations, 
perhaps it's something we could roll out in a separate PR, especially 
considering updates to the GlueCatalog configurations that would follow.
   
   I'd love to hear your thoughts on this.



-- 
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...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to