apache / apache/polaris

GCP access token cannot be refreshed

Open
#2,253 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Java
Stars
2.1k
Forks
522
Avg merge
1d 22h
Merged PRs (30d)
137

Description

### Is your feature request related to a problem? Please describe.

Currently the configured GCP access token is memoized and never refreshed:

https://github.com/apache/polaris/blob/1cb85e0234c4b2b455fec3709c489e2885ed2eb5/service/common/src/main/java/org/apache/polaris/service/storage/StorageConfiguration.java#L92-L112

### Describe the solution you'd like

We need a way to refresh GCP credentials.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading service/common/src/main/java/org/apache/polaris/service/storage/StorageConfiguration.java at lines 92-112, where the configured GCP access token is memoized. Trace the credential handling there and determine how refresh should work; done means GCP credentials can be refreshed instead of remaining memoized indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, java
Domain
authentication, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.