sakshamratra0106 commented on code in PR #3066: URL: https://github.com/apache/polaris/pull/3066#discussion_r2548387258
########## site/content/in-dev/unreleased/configuring-polaris-for-production/configuring-gcs-cloud-storage-specific.md: ########## @@ -0,0 +1,37 @@ +--- +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +title: Configuring GCS Cloud Storage +linkTitle: Configuring GCS Cloud Storage +type: docs +weight: 600 +--- + +This page provides guidance for Configuring GCS Cloud Storage provider for use with Polaris. +It covers credential vending, IAM roles, ACL requirements, and best practices to ensure secure and reliable integration. + +#### GCS + +When using credential vending for Google Cloud Storage (GCS) with Apache Iceberg on +Polaris, ensure that both IAM roles and HNS ACLs (if HNS is enabled) are properly configured. Even with the correct IAM +role (e.g., `roles/storage.objectAdmin`), access to paths such as `gs://<bucket>/idsp_ns/sample_table4/` may fail with +403 errors if HNS ACLs are missing for scoped tokens. The original access token may work, but scoped (vended) tokens +require HNS ACLs on the base path or relevant subpath. Polaris does not require HNS to be enabled for basic operation, Review Comment: Actually no. HNS is not mandatory with Credential Vending. We can disable HNS and use Credential vending as is with bare min permissions[object Read and Write]. And that works, i am currently doing the same thing in my project. Where as with HNS enabled we need to another of permissions in ACLs, refference https://docs.cloud.google.com/storage/docs/uniform-bucket-level-access. i still need to explore that territory. Will keep adding more information as and when i know more about it. If thats fine ? -- 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]
