roryqi commented on code in PR #11519:
URL: https://github.com/apache/gravitino/pull/11519#discussion_r3378971158


##########
docs/iceberg-rest-engine/trino.md:
##########
@@ -51,6 +51,36 @@ iceberg.file-format=PARQUET
 iceberg.compression-codec=ZSTD
 ```
 
+### With Basic authentication
+
+Requires Trino **481+**. Trino has no native Basic mode for Iceberg REST; pass 
`Authorization`
+via HTTP headers.
+
+```shell
+echo -n '<username>:<password>' | base64
+```
+
+```properties
+connector.name=iceberg
+iceberg.catalog.type=rest
+iceberg.rest-catalog.uri=http://<gravitino-host>:9001/iceberg
+
+# Basic authentication
+iceberg.rest-catalog.http-headers=Authorization: Basic <base64-credentials>
+
+# Native S3 filesystem (Trino 430+)

Review Comment:
   Why do we need 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to