Skip to content

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

Merged
nastra merged 1 commit into
apache:1.7.xfrom
nastra:aws-refresh-fix
Mar 13, 2025
Merged

nastra merged 1 commit into
apache:1.7.xfrom
nastra:aws-refresh-fix

Conversation

@nastra

@nastra nastra commented Mar 13, 2025

Copy link
Copy Markdown
Contributor

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
@nastra
nastra deleted the aws-refresh-fix branch April 16, 2025 08:36
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