Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #58740

@github-actions github-actions bot requested a review from yiguolei as a code owner December 15, 2025 14:31
@Thearas
Copy link
Contributor

Thearas commented Dec 15, 2025

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Dec 15, 2025
@Thearas
Copy link
Contributor

Thearas commented Dec 15, 2025

run buildall

…ialsProviderChain (#58740)

### Changes

This update enables Catalogs to automatically load credentials for S3 or
S3-compatible storage using AwsCredentialsProviderChain. Users no longer
need to explicitly specify AK/SK in Catalog properties. The feature
provides stronger support for cloud-native environments such as IRSA,
containers, and EC2 Instance Profiles. ↳

All credential resolution is unified through
DefaultDorisAwsCredentialsProviderChain, ensuring consistent and secure
handling across the project.

 Key Behavior

#### No need to configure AK/SK manually:

Credentials can be automatically derived from IRSA, WebIdentity,
container metadata, EC2 instance profile, environment variables, system
properties, or AWS profile files. ↳

#### Unified credential resolution:
All modules use DefaultDorisAwsCredentialsProviderChain to avoid
inconsistent custom implementations. ↳

eg
```

CREATE CATALOG `iceberg_fs_catalog` PROPERTIES (
"type" = "iceberg",
"iceberg.catalog.type" = "hadoop",
"warehouse" = "s3://<bucket>/iceberg/fs/s3/warehouse/",
"s3.region"="us-east-1",
"s3.endpoint" = "s3.us-east-1.amazonaws.com"
); 
```
@yiguolei yiguolei force-pushed the auto-pick-58740-branch-4.0 branch from a6e4fd7 to 0a5440c Compare December 17, 2025 10:51
@yiguolei
Copy link
Contributor

run buildall

@yiguolei yiguolei merged commit ba1b0e3 into branch-4.0 Dec 22, 2025
24 of 29 checks passed
@github-actions github-actions bot deleted the auto-pick-58740-branch-4.0 branch December 22, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants