fix(connectors): support default credential provider chain for iceberg sink#3045
Open
gomnitrix wants to merge 1 commit intoapache:masterfrom
Open
fix(connectors): support default credential provider chain for iceberg sink#3045gomnitrix wants to merge 1 commit intoapache:masterfrom
gomnitrix wants to merge 1 commit intoapache:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3045 +/- ##
=========================================
Coverage 71.74% 71.75%
Complexity 943 943
=========================================
Files 1121 1121
Lines 93800 93826 +26
Branches 71124 71150 +26
=========================================
+ Hits 67301 67323 +22
+ Misses 23863 23862 -1
- Partials 2636 2641 +5
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #2911
Rationale
Production environments prefer the default credential provider chain over static keys, which the Iceberg Sink connector currently lacks support for.
What changed?
The Iceberg Sink connector previously failed to initialize if
store_access_key_idandstore_secret_access_keywere missing from the config, blocking the use of standard identity-based auth. This fix makes these config fields optional, allowing the underlying OpenDAL seamlessly fall back to the default credential provider chain. An isolated integration test was also added to verify this fallback behavior using environment variables.Local Execution
AI Usage
iceberg_sink_uses_default_credential_chainintegration test.