Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCS: Refresh vended credentials #11282

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

nastra
Copy link
Contributor

@nastra nastra commented Oct 8, 2024

No description provided.

@nastra nastra marked this pull request as draft October 8, 2024 11:12
@nastra nastra force-pushed the gcs-refresh-vended-credentials branch from 9838acb to bc5a4e1 Compare October 10, 2024 10:33
@nastra nastra force-pushed the gcs-refresh-vended-credentials branch from bc5a4e1 to 5c9e222 Compare October 24, 2024 14:10
@nastra nastra marked this pull request as ready for review October 24, 2024 14:12
@nastra nastra requested a review from danielcweeks October 24, 2024 14:13
Preconditions.checkState(!gcsCredentials.isEmpty(), "Invalid GCS Credentials: empty");

Optional<Credential> credentialWithPrefix =
gcsCredentials.stream().max(Comparator.comparingInt(c -> c.prefix().length()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just want to call out that we have the same issue as with s3.

@nastra nastra force-pushed the gcs-refresh-vended-credentials branch from 5c9e222 to 95042e7 Compare October 25, 2024 07:00
@danielcweeks danielcweeks added this to the Iceberg 1.7.0 milestone Oct 25, 2024
@nastra nastra force-pushed the gcs-refresh-vended-credentials branch from 95042e7 to 0af9234 Compare October 28, 2024 14:11
@nastra nastra modified the milestone: Iceberg 1.7.0 Oct 29, 2024
@nastra nastra requested a review from danielcweeks October 29, 2024 16:19
Copy link
Contributor

@danielcweeks danielcweeks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comments as #11389

+1 for me.

@nastra
Copy link
Contributor Author

nastra commented Oct 30, 2024

thanks for the review @danielcweeks

@nastra nastra merged commit 5359bea into apache:main Oct 30, 2024
50 checks passed
@nastra nastra deleted the gcs-refresh-vended-credentials branch October 30, 2024 06:09
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants