Skip to content

Commit c1c9227

Browse files
Site: Added GCS related Bucket Properties for vending credentials. (#3066)
1 parent 415c9c0 commit c1c9227

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

site/content/in-dev/unreleased/configuring-polaris-for-production.md renamed to site/content/in-dev/unreleased/configuring-polaris-for-production/_index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Depending on your database, this may not be convenient as the generated credenti
173173
in clear text in the database.
174174

175175
In order to provide your own credentials for `root` principal (so you can request tokens via
176-
`api/catalog/v1/oauth/tokens`), use the [Polaris Admin Tool]({{% ref "admin-tool" %}})
176+
`api/catalog/v1/oauth/tokens`), use the [Polaris Admin Tool](../../../../docs/admin-tool.md)
177177

178178
You can verify the setup by attempting a token issue for the `root` principal:
179179

@@ -234,3 +234,7 @@ profile (for example, `%prod`).
234234

235235
The [Polaris Evolution](../evolution) page discusses backward compatibility and
236236
upgrade concerns.
237+
238+
### Configuring Polaris for Cloud Storages
239+
240+
For guidance on configuring specific cloud storage providers see child pages (links in the left-hand pane).
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
#
3+
# Licensed to the Apache Software Foundation (ASF) under one
4+
# or more contributor license agreements. See the NOTICE file
5+
# distributed with this work for additional information
6+
# regarding copyright ownership. The ASF licenses this file
7+
# to you under the Apache License, Version 2.0 (the
8+
# "License"); you may not use this file except in compliance
9+
# with the License. You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
#
20+
title: Configuring GCS Cloud Storage
21+
linkTitle: Configuring GCS Cloud Storage
22+
type: docs
23+
weight: 600
24+
---
25+
26+
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.
27+
28+
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.
29+
30+
Polaris requires both IAM roles and [Hierarchical Namespace (HNS)](https://docs.cloud.google.com/storage/docs/hns-overview) ACLs (if HNS is enabled) to be 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.
31+
32+
**Note:** HNS is not mandatory when using GCS for a catalog in Polaris. If HNS is not enabled on the bucket, only IAM roles are required for access. Always verify HNS ACLs in addition to IAM roles when troubleshooting GCS access issues with credential vending and HNS enabled.

0 commit comments

Comments
 (0)