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

[1.7.x] AWS: Don't fetch credential from endpoint if properties contain a valid credential (#12504) #12515

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

nastra
Copy link
Contributor

@nastra nastra commented Mar 13, 2025

This backports #12504 to 1.7.x

…id credential (apache#12504)

When the `VendedCredentialProvider` is created, the `properties` typically already contain a valid credential from the first time a table is loaded.
This PR uses the credential from the properties and otherwise falls back to loading a valid credential from the refresh endpoint in case the credential in `properties` is incomplete or expired.
@nastra nastra added this to the Iceberg 1.7.2 milestone Mar 13, 2025
@github-actions github-actions bot added the AWS label Mar 13, 2025
@nastra nastra changed the title AWS: Don't fetch credential from endpoint if properties contain a valid credential (#12504) [1.7.x] AWS: Don't fetch credential from endpoint if properties contain a valid credential (#12504) Mar 13, 2025
@jbonofre jbonofre self-requested a review March 13, 2025 07:21
@nastra nastra requested a review from Fokko March 13, 2025 09:38
@nastra nastra merged commit c4e1106 into apache:1.7.x Mar 13, 2025
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants