I have a couple of BigQuery tables for Apache Iceberg, as seen on their documentation page. This created the respective metadata and data folder where the parquet files are stored, on my GCS bucket.
I'm trying to use a REST Catalog to manage these Iceberg tables because I want to access them with Trino, which, as per their documentation, does not seem to support a BigQuery/Google cloud metastore.
I have the basic structure for the rest.properties file in the "Catalog" folder on my Trino configs (I'm mounting Trino on a Docker), but I'm missing the exact way how to authenticate and connect to my gcs bucket. I have not found any examples anywhere while searching the web.What I have so far is the following:
connector.name=icebergiceberg.catalog.type=resticeberg.rest-catalog.uri=https://storage.googleapis.com/<bucket_name>/thelook_ecommerce/iceberg (is this correct?)iceberg.rest-catalog.security=OAUTH2 (is this what I want in this case?)????????
If authentication with service account was allowed, that would be my favoured option, but I don't see in the documentation how I could do it.
I apologize in advance if this seems too basic or if I said something terribly wrong, but I'm really navigating uncharted territory for me ahah
Thank you very much!