You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "sakshamratra0106 (via GitHub)" <gi...@apache.org> on 2025/11/17 02:36:16 UTC

[PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

sakshamratra0106 opened a new pull request, #3066:
URL: https://github.com/apache/polaris/pull/3066

   Document Updated
   
   1. Added GCS related Properties for vending credentials. 
   2. Added line width to 120 char.
   


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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2546803136


##########
site/content/in-dev/unreleased/configuring-polaris-for-production/_index.md:
##########
@@ -234,3 +234,7 @@ profile (for example, `%prod`).
 
 The [Polaris Evolution](../evolution) page discusses backward compatibility and
 upgrade concerns.
+
+### Configuring Polaris for Cloud Storages
+
+For guidance on configuring cloud storage providers ... see child pages (links in the left-hand pane) for use with Polaris—including credential vending, IAM roles, ACL requirements, and best practices—see [Configuring GCS Cloud Storage](./configuring-gcs-cloud-storage-specific/).

Review Comment:
   oh ok!



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2546639663


##########
site/content/in-dev/unreleased/configuring-polaris-for-production/configuring-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 Cloud Storage

Review Comment:
   Suggestion: how about `Configuring GCS Cloud Storage`?
   
   If AWS S3, etc. are added later, it will be a new page, not an edit to this page, which will be easier to maintain, IMHO... but current layout is ok too.



##########
site/content/in-dev/unreleased/configuring-polaris-for-production/_index.md:
##########
@@ -234,3 +234,7 @@ profile (for example, `%prod`).
 
 The [Polaris Evolution](../evolution) page discusses backward compatibility and
 upgrade concerns.
+
+### Configuring Polaris for Cloud Storages
+
+For guidance on configuring cloud storage providers (such as Google Cloud Storage, Amazon S3, and Azure Blob Storage) for use with Polaris—including credential vending, IAM roles, ACL requirements, and best practices—see [Configuring Cloud Storage](./configuring-cloud-storage-specific/).

Review Comment:
   Suggestion: `For guidance on configuring cloud storage providers ... see child pages (links in the left-hand pane)`



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2544168880


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -210,27 +204,39 @@ curl -X POST http://localhost:8181/api/catalog/v1/oauth/tokens \
 ```
 
 ### Disable FILE Storage Type
-By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing,
-but **not recommended for production**. To disable it, set the supported storage types like this:
+
+By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing, but **not
+recommended for production**. To disable it, set the supported storage types like this:
+
 ```hocon
 polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES" = [ "S3", "Azure" ]
 ```
+
 Leave out `FILE` to prevent its use. Only include the storage types your setup needs.
 
 ### Polaris Server Header
 
-Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header
-configuration. Add the following property to one of the supported configuration sources (for example,
-`application.properties`) to enable it with the Polaris version string:
+Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header configuration. Add the
+following property to one of the supported configuration sources (for example, `application.properties`) to enable it
+with the Polaris version string:
 
 ```properties
 quarkus.http.header."Server".value=Polaris/${quarkus.application.version}
 ```
 
-If you prefer to scope the header to specific environments, only set the property for the desired
-profile (for example, `%prod`).
+If you prefer to scope the header to specific environments, only set the property for the desired profile (for example,
+`%prod`).
+
+### Cloud Storage Specific Configuration
+
+GCS + Polaris: When using token vending for fine-grained access in Google Cloud Storage (GCS) with Apache Iceberg on

Review Comment:
   i was thinking the same thing, there could be more of cloud configuration which would come eventually in documentation. Where would it go. I will put that in sub page under 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-unsubscribe@polaris.apache.org

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2548359736


##########
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

Review Comment:
   fair enough!!



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2550329217


##########
site/content/in-dev/unreleased/configuring-polaris-for-production/configuring-gcs-cloud-storage-specific.md:
##########
@@ -0,0 +1,32 @@
+---
+#
+# 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.
+
+All catalog operations in Polaris for Google Cloud Storage (GCS)—including listing, reading, and writing objects—are performed using credential vending, which issues scoped (vended) tokens for secure access.

Review Comment:
   This is not 100% accurate, the `SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION` flag (if set) can turn off credential vending.



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2546627927


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -23,35 +23,39 @@ type: docs
 weight: 600
 ---
 
-The default server configuration is intended for development and testing. When you deploy Polaris in production,
-review and apply the following checklist:
+The default server configuration is intended for development and testing. When you deploy Polaris in production, review
+and apply the following checklist:
+
 - [ ] Configure OAuth2 keys
 - [ ] Enforce realm header validation (`require-header=true`)
 - [ ] Use a durable metastore (JDBC + PostgreSQL)
 - [ ] Bootstrap valid realms in the metastore
 - [ ] Disable local FILE storage
+- [ ] Polaris Server Header

Review Comment:
   Yes, the `Server` header is off by default due to possible security concerns. If a user wishes to enable it, it is possible. However, it does not look like every user has to make a decision about it.



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2548400061


##########
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:
   @flyrain please review again!



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2546751339


##########
site/content/in-dev/unreleased/configuring-polaris-for-production/configuring-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 Cloud Storage

Review Comment:
   sounds good!!



##########
site/content/in-dev/unreleased/configuring-polaris-for-production/_index.md:
##########
@@ -234,3 +234,7 @@ profile (for example, `%prod`).
 
 The [Polaris Evolution](../evolution) page discusses backward compatibility and
 upgrade concerns.
+
+### Configuring Polaris for Cloud Storages
+
+For guidance on configuring cloud storage providers (such as Google Cloud Storage, Amazon S3, and Azure Blob Storage) for use with Polaris—including credential vending, IAM roles, ACL requirements, and best practices—see [Configuring Cloud Storage](./configuring-cloud-storage-specific/).

Review Comment:
   cool!!



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
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: issues-unsubscribe@polaris.apache.org

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2539498277


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -23,35 +23,39 @@ type: docs
 weight: 600
 ---
 
-The default server configuration is intended for development and testing. When you deploy Polaris in production,
-review and apply the following checklist:
+The default server configuration is intended for development and testing. When you deploy Polaris in production, review
+and apply the following checklist:
+
 - [ ] Configure OAuth2 keys
 - [ ] Enforce realm header validation (`require-header=true`)
 - [ ] Use a durable metastore (JDBC + PostgreSQL)
 - [ ] Bootstrap valid realms in the metastore
 - [ ] Disable local FILE storage
+- [ ] Polaris Server Header
+- [ ] Upgrade considerations
+- [ ] Cloud Storage Specific Configuration
 
 ### Configure OAuth2
 
-Polaris authentication requires specifying a token broker factory type. Two implementations are
-supported out of the box:
+Polaris authentication requires specifying a token broker factory type. Two implementations are supported out of the
+box:
 
 - [rsa-key-pair] uses a pair of public and private keys;
 - [symmetric-key] uses a shared secret.
 
-[rsa-key-pair]: https://github.com/apache/polaris/blob/390f1fa57bb1af24a21aa95fdbff49a46e31add7/service/common/src/main/java/org/apache/polaris/service/auth/JWTRSAKeyPairFactory.java
-[symmetric-key]: https://github.com/apache/polaris/blob/390f1fa57bb1af24a21aa95fdbff49a46e31add7/service/common/src/main/java/org/apache/polaris/service/auth/JWTSymmetricKeyFactory.java
+[rsa-key-pair]:
+  https://github.com/apache/polaris/blob/390f1fa57bb1af24a21aa95fdbff49a46e31add7/service/common/src/main/java/org/apache/polaris/service/auth/JWTRSAKeyPairFactory.java
+[symmetric-key]:
+  https://github.com/apache/polaris/blob/390f1fa57bb1af24a21aa95fdbff49a46e31add7/service/common/src/main/java/org/apache/polaris/service/auth/JWTSymmetricKeyFactory.java

Review Comment:
   There seems be a lot of changes not related. Can we revert them? 



##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -210,27 +204,39 @@ curl -X POST http://localhost:8181/api/catalog/v1/oauth/tokens \
 ```
 
 ### Disable FILE Storage Type
-By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing,
-but **not recommended for production**. To disable it, set the supported storage types like this:
+
+By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing, but **not
+recommended for production**. To disable it, set the supported storage types like this:
+
 ```hocon
 polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES" = [ "S3", "Azure" ]
 ```
+
 Leave out `FILE` to prevent its use. Only include the storage types your setup needs.
 
 ### Polaris Server Header
 
-Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header
-configuration. Add the following property to one of the supported configuration sources (for example,
-`application.properties`) to enable it with the Polaris version string:
+Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header configuration. Add the
+following property to one of the supported configuration sources (for example, `application.properties`) to enable it
+with the Polaris version string:
 
 ```properties
 quarkus.http.header."Server".value=Polaris/${quarkus.application.version}
 ```
 
-If you prefer to scope the header to specific environments, only set the property for the desired
-profile (for example, `%prod`).
+If you prefer to scope the header to specific environments, only set the property for the desired profile (for example,
+`%prod`).
+
+### Cloud Storage Specific Configuration
+
+GCS + Polaris: When using token vending for fine-grained access in Google Cloud Storage (GCS) with Apache Iceberg on

Review Comment:
   I'd suggest a subtitle
   ```suggestion
   #### GCS
   
   When using token vending for fine-grained access in Google Cloud Storage (GCS) with Apache Iceberg on
   ```



##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -210,27 +204,39 @@ curl -X POST http://localhost:8181/api/catalog/v1/oauth/tokens \
 ```
 
 ### Disable FILE Storage Type
-By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing,
-but **not recommended for production**. To disable it, set the supported storage types like this:
+
+By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing, but **not
+recommended for production**. To disable it, set the supported storage types like this:
+
 ```hocon
 polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES" = [ "S3", "Azure" ]
 ```
+
 Leave out `FILE` to prevent its use. Only include the storage types your setup needs.
 
 ### Polaris Server Header
 
-Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header
-configuration. Add the following property to one of the supported configuration sources (for example,
-`application.properties`) to enable it with the Polaris version string:
+Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header configuration. Add the
+following property to one of the supported configuration sources (for example, `application.properties`) to enable it
+with the Polaris version string:
 
 ```properties
 quarkus.http.header."Server".value=Polaris/${quarkus.application.version}
 ```
 
-If you prefer to scope the header to specific environments, only set the property for the desired
-profile (for example, `%prod`).
+If you prefer to scope the header to specific environments, only set the property for the desired profile (for example,
+`%prod`).
+
+### Cloud Storage Specific Configuration
+
+GCS + Polaris: When using token vending for fine-grained access in Google Cloud Storage (GCS) with Apache Iceberg on

Review Comment:
   Can we use the term `credential vending` instead of `token vending` to be more consistent with other places? 
   
   I'd also recommend to not mention `fine-grained access` to avoid any confusion with table's FGAC. I think the context is pretty clear when it comes to storage credential vending. `fine-grained access` isn't necessary. 



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain merged PR #3066:
URL: https://github.com/apache/polaris/pull/3066


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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2534729580


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -23,35 +23,39 @@ type: docs
 weight: 600
 ---
 
-The default server configuration is intended for development and testing. When you deploy Polaris in production,
-review and apply the following checklist:
+The default server configuration is intended for development and testing. When you deploy Polaris in production, review
+and apply the following checklist:
+
 - [ ] Configure OAuth2 keys
 - [ ] Enforce realm header validation (`require-header=true`)
 - [ ] Use a durable metastore (JDBC + PostgreSQL)
 - [ ] Bootstrap valid realms in the metastore
 - [ ] Disable local FILE storage
+- [ ] Polaris Server Header

Review Comment:
   Why is `Polaris Server Header` a critical point for production configuration?



##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -23,35 +23,39 @@ type: docs
 weight: 600
 ---
 
-The default server configuration is intended for development and testing. When you deploy Polaris in production,
-review and apply the following checklist:
+The default server configuration is intended for development and testing. When you deploy Polaris in production, review
+and apply the following checklist:
+
 - [ ] Configure OAuth2 keys
 - [ ] Enforce realm header validation (`require-header=true`)
 - [ ] Use a durable metastore (JDBC + PostgreSQL)
 - [ ] Bootstrap valid realms in the metastore
 - [ ] Disable local FILE storage
+- [ ] Polaris Server Header
+- [ ] Upgrade considerations
+- [ ] Cloud Storage Specific Configuration
 
 ### Configure OAuth2
 
-Polaris authentication requires specifying a token broker factory type. Two implementations are
-supported out of the box:
+Polaris authentication requires specifying a token broker factory type. Two implementations are supported out of the

Review Comment:
   nit: I'd prefer not to change the formatting on existing lines when the text itself does not change. It complicates reviews and skews line authorship attribution.



##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -210,27 +204,39 @@ curl -X POST http://localhost:8181/api/catalog/v1/oauth/tokens \
 ```
 
 ### Disable FILE Storage Type
-By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing,
-but **not recommended for production**. To disable it, set the supported storage types like this:
+
+By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing, but **not
+recommended for production**. To disable it, set the supported storage types like this:
+
 ```hocon
 polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES" = [ "S3", "Azure" ]
 ```
+
 Leave out `FILE` to prevent its use. Only include the storage types your setup needs.
 
 ### Polaris Server Header
 
-Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header
-configuration. Add the following property to one of the supported configuration sources (for example,
-`application.properties`) to enable it with the Polaris version string:
+Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header configuration. Add the
+following property to one of the supported configuration sources (for example, `application.properties`) to enable it
+with the Polaris version string:
 
 ```properties
 quarkus.http.header."Server".value=Polaris/${quarkus.application.version}
 ```
 
-If you prefer to scope the header to specific environments, only set the property for the desired
-profile (for example, `%prod`).
+If you prefer to scope the header to specific environments, only set the property for the desired profile (for example,
+`%prod`).
+
+### Cloud Storage Specific Configuration
+
+GCS + Polaris: When using token vending for fine-grained access in Google Cloud Storage (GCS) with Apache Iceberg on

Review Comment:
   GCS is one of several possible cloud storage implementations. I believe it would be nicer to move this section into a sub-page under https://polaris.apache.org/in-dev/unreleased/configuring-polaris-for-production/
   
   Other cloud storage options can get dedicated pages parallel to that one later. WDYT?



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2548126018


##########
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:
   What are basic operations? Can we clarify that? My impression is that we cannot disable credential vending when a catalog based on GCS. In that case, HNS seems mandatory.  



##########
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

Review Comment:
   Does HNS refer to Hierarchical namespace described here, https://docs.cloud.google.com/storage/docs/hns-overview? We might add the full name and links so that reader arent' confused the by the acronym. 



##########
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

Review Comment:
   We don't need this title as this page is dedicated for GCS config



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on PR #3066:
URL: https://github.com/apache/polaris/pull/3066#issuecomment-3558967661

   @dimas-b please review again!


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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2546777000


##########
site/content/in-dev/unreleased/configuring-polaris-for-production/_index.md:
##########
@@ -234,3 +234,7 @@ profile (for example, `%prod`).
 
 The [Polaris Evolution](../evolution) page discusses backward compatibility and
 upgrade concerns.
+
+### Configuring Polaris for Cloud Storages
+
+For guidance on configuring cloud storage providers ... see child pages (links in the left-hand pane) for use with Polaris—including credential vending, IAM roles, ACL requirements, and best practices—see [Configuring GCS Cloud Storage](./configuring-gcs-cloud-storage-specific/).

Review Comment:
   ```suggestion
   For guidance on configuring specific cloud storage providers see child pages (links in the left-hand pane).
   ```



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2534736059


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -23,35 +23,39 @@ type: docs
 weight: 600
 ---
 
-The default server configuration is intended for development and testing. When you deploy Polaris in production,
-review and apply the following checklist:
+The default server configuration is intended for development and testing. When you deploy Polaris in production, review
+and apply the following checklist:
+
 - [ ] Configure OAuth2 keys
 - [ ] Enforce realm header validation (`require-header=true`)
 - [ ] Use a durable metastore (JDBC + PostgreSQL)
 - [ ] Bootstrap valid realms in the metastore
 - [ ] Disable local FILE storage
+- [ ] Polaris Server Header
+- [ ] Upgrade considerations
+- [ ] Cloud Storage Specific Configuration
 
 ### Configure OAuth2
 
-Polaris authentication requires specifying a token broker factory type. Two implementations are
-supported out of the box:
+Polaris authentication requires specifying a token broker factory type. Two implementations are supported out of the

Review Comment:
   I'd prefer not to change the formatting on existing lines when the text itself does not change. It complicates reviews and skews line authorship attribution.



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2544178180


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -210,27 +204,39 @@ curl -X POST http://localhost:8181/api/catalog/v1/oauth/tokens \
 ```
 
 ### Disable FILE Storage Type
-By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing,
-but **not recommended for production**. To disable it, set the supported storage types like this:
+
+By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing, but **not
+recommended for production**. To disable it, set the supported storage types like this:
+
 ```hocon
 polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES" = [ "S3", "Azure" ]
 ```
+
 Leave out `FILE` to prevent its use. Only include the storage types your setup needs.
 
 ### Polaris Server Header
 
-Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header
-configuration. Add the following property to one of the supported configuration sources (for example,
-`application.properties`) to enable it with the Polaris version string:
+Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header configuration. Add the
+following property to one of the supported configuration sources (for example, `application.properties`) to enable it
+with the Polaris version string:
 
 ```properties
 quarkus.http.header."Server".value=Polaris/${quarkus.application.version}
 ```
 
-If you prefer to scope the header to specific environments, only set the property for the desired
-profile (for example, `%prod`).
+If you prefer to scope the header to specific environments, only set the property for the desired profile (for example,
+`%prod`).
+
+### Cloud Storage Specific Configuration
+
+GCS + Polaris: When using token vending for fine-grained access in Google Cloud Storage (GCS) with Apache Iceberg on

Review Comment:
   oh ok! Got it!



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2548399807


##########
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:
   I have made some changes again to make more sense and details about HNS is not mandatory.



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2548401625


##########
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:
   Correct one dead internal link to "admin-tool" page



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2548404109


##########
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:
   @flyrain  also could you confirm if these dead link issues to external location are bound to happen and we can merge anyways ?
   
   https://github.com/apache/polaris/actions/runs/19544276537/job/55967194931?pr=3066



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2544173489


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -210,27 +204,39 @@ curl -X POST http://localhost:8181/api/catalog/v1/oauth/tokens \
 ```
 
 ### Disable FILE Storage Type
-By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing,
-but **not recommended for production**. To disable it, set the supported storage types like this:
+
+By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing, but **not
+recommended for production**. To disable it, set the supported storage types like this:
+
 ```hocon
 polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES" = [ "S3", "Azure" ]
 ```
+
 Leave out `FILE` to prevent its use. Only include the storage types your setup needs.
 
 ### Polaris Server Header
 
-Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header
-configuration. Add the following property to one of the supported configuration sources (for example,
-`application.properties`) to enable it with the Polaris version string:
+Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header configuration. Add the
+following property to one of the supported configuration sources (for example, `application.properties`) to enable it
+with the Polaris version string:
 
 ```properties
 quarkus.http.header."Server".value=Polaris/${quarkus.application.version}
 ```
 
-If you prefer to scope the header to specific environments, only set the property for the desired
-profile (for example, `%prod`).
+If you prefer to scope the header to specific environments, only set the property for the desired profile (for example,
+`%prod`).
+
+### Cloud Storage Specific Configuration
+
+GCS + Polaris: When using token vending for fine-grained access in Google Cloud Storage (GCS) with Apache Iceberg on

Review Comment:
   make sense! Removing!



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2548360032


##########
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

Review Comment:
   Done



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2548554980


##########
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:
   Merged, the markdown issue isn't related.



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2544176604


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -210,27 +204,39 @@ curl -X POST http://localhost:8181/api/catalog/v1/oauth/tokens \
 ```
 
 ### Disable FILE Storage Type
-By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing,
-but **not recommended for production**. To disable it, set the supported storage types like this:
+
+By default, Polaris allows using the local file system (`FILE`) for catalog storage. This is fine for testing, but **not
+recommended for production**. To disable it, set the supported storage types like this:
+
 ```hocon
 polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES" = [ "S3", "Azure" ]
 ```
+
 Leave out `FILE` to prevent its use. Only include the storage types your setup needs.
 
 ### Polaris Server Header
 
-Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header
-configuration. Add the following property to one of the supported configuration sources (for example,
-`application.properties`) to enable it with the Polaris version string:
+Polaris can emit an informational `Server` HTTP response header using Quarkus' built-in header configuration. Add the
+following property to one of the supported configuration sources (for example, `application.properties`) to enable it
+with the Polaris version string:
 
 ```properties
 quarkus.http.header."Server".value=Polaris/${quarkus.application.version}
 ```
 
-If you prefer to scope the header to specific environments, only set the property for the desired
-profile (for example, `%prod`).
+If you prefer to scope the header to specific environments, only set the property for the desired profile (for example,
+`%prod`).
+
+### Cloud Storage Specific Configuration
+
+GCS + Polaris: When using token vending for fine-grained access in Google Cloud Storage (GCS) with Apache Iceberg on

Review Comment:
   You mean title of the section could be GCS ? is it ?



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2544169120


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -23,35 +23,39 @@ type: docs
 weight: 600
 ---
 
-The default server configuration is intended for development and testing. When you deploy Polaris in production,
-review and apply the following checklist:
+The default server configuration is intended for development and testing. When you deploy Polaris in production, review
+and apply the following checklist:
+
 - [ ] Configure OAuth2 keys
 - [ ] Enforce realm header validation (`require-header=true`)
 - [ ] Use a durable metastore (JDBC + PostgreSQL)
 - [ ] Bootstrap valid realms in the metastore
 - [ ] Disable local FILE storage
+- [ ] Polaris Server Header
+- [ ] Upgrade considerations
+- [ ] Cloud Storage Specific Configuration
 
 ### Configure OAuth2
 
-Polaris authentication requires specifying a token broker factory type. Two implementations are
-supported out of the box:
+Polaris authentication requires specifying a token broker factory type. Two implementations are supported out of the
+box:
 
 - [rsa-key-pair] uses a pair of public and private keys;
 - [symmetric-key] uses a shared secret.
 
-[rsa-key-pair]: https://github.com/apache/polaris/blob/390f1fa57bb1af24a21aa95fdbff49a46e31add7/service/common/src/main/java/org/apache/polaris/service/auth/JWTRSAKeyPairFactory.java
-[symmetric-key]: https://github.com/apache/polaris/blob/390f1fa57bb1af24a21aa95fdbff49a46e31add7/service/common/src/main/java/org/apache/polaris/service/auth/JWTSymmetricKeyFactory.java
+[rsa-key-pair]:
+  https://github.com/apache/polaris/blob/390f1fa57bb1af24a21aa95fdbff49a46e31add7/service/common/src/main/java/org/apache/polaris/service/auth/JWTRSAKeyPairFactory.java
+[symmetric-key]:
+  https://github.com/apache/polaris/blob/390f1fa57bb1af24a21aa95fdbff49a46e31add7/service/common/src/main/java/org/apache/polaris/service/auth/JWTSymmetricKeyFactory.java

Review Comment:
   sure



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2544166442


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -23,35 +23,39 @@ type: docs
 weight: 600
 ---
 
-The default server configuration is intended for development and testing. When you deploy Polaris in production,
-review and apply the following checklist:
+The default server configuration is intended for development and testing. When you deploy Polaris in production, review
+and apply the following checklist:
+
 - [ ] Configure OAuth2 keys
 - [ ] Enforce realm header validation (`require-header=true`)
 - [ ] Use a durable metastore (JDBC + PostgreSQL)
 - [ ] Bootstrap valid realms in the metastore
 - [ ] Disable local FILE storage
+- [ ] Polaris Server Header

Review Comment:
   This section already exists in the page but there wasnt any header for this. Thought i would just add it as header on the top of the page. But i see the point, will remove it.
   
   <img width="911" height="553" alt="image" src="https://github.com/user-attachments/assets/bb78eaa4-c2c9-418a-91de-0d8dedbdc8cd" />
   
   



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

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


Re: [PR] Document Updated: Added GCS related Bucket Properties for vending credentials. [polaris]

Posted by "sakshamratra0106 (via GitHub)" <gi...@apache.org>.
sakshamratra0106 commented on code in PR #3066:
URL: https://github.com/apache/polaris/pull/3066#discussion_r2544166902


##########
site/content/in-dev/unreleased/configuring-polaris-for-production.md:
##########
@@ -23,35 +23,39 @@ type: docs
 weight: 600
 ---
 
-The default server configuration is intended for development and testing. When you deploy Polaris in production,
-review and apply the following checklist:
+The default server configuration is intended for development and testing. When you deploy Polaris in production, review
+and apply the following checklist:
+
 - [ ] Configure OAuth2 keys
 - [ ] Enforce realm header validation (`require-header=true`)
 - [ ] Use a durable metastore (JDBC + PostgreSQL)
 - [ ] Bootstrap valid realms in the metastore
 - [ ] Disable local FILE storage
+- [ ] Polaris Server Header
+- [ ] Upgrade considerations
+- [ ] Cloud Storage Specific Configuration
 
 ### Configure OAuth2
 
-Polaris authentication requires specifying a token broker factory type. Two implementations are
-supported out of the box:
+Polaris authentication requires specifying a token broker factory type. Two implementations are supported out of the

Review Comment:
   makes reverting those changes.



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

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