MuraliMon opened a new issue, #10302:
URL: https://github.com/apache/seatunnel/issues/10302

   ### Search before asking
   
   - [x] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   
   
     ## Description
   
     SeaTunnel 2.3.12 ships with AWS SDK 1.11.271 (from March 2018), which does 
not support IRSA (IAM Roles for Service Accounts)
     authentication in Amazon EKS. This prevents using S3 checkpoint storage 
with modern EKS security patterns.
   
     ## Current Behavior
   
     When configuring S3 checkpoint storage in EKS with IRSA:
   
     ```yaml
     checkpoint:
       storage:
         type: hdfs
         plugin-config:
           storage.type: s3
           s3.bucket: s3a://my-bucket
           fs.s3a.endpoint: s3.amazonaws.com
   
     Error:
     com.amazonaws.AmazonClientException: No AWS Credentials provided by 
BasicAWSCredentialsProvider EnvironmentVariableCredentialsProvider
     InstanceProfileCredentialsProvider
   
     Root Cause
   
     1. AWS SDK 1.11.271 (released March 2018) predates IRSA support
     2. IRSA was added to AWS SDK in version 1.11.704 (January 2020)
     3. IRSA requires WebIdentityTokenCredentialsProvider which is not 
available in 1.11.271
     4. Both aws-java-sdk-bundle-1.11.271.jar and seatunnel-hadoop-aws.jar 
contain the old AWS SDK
   
     Expected Behavior
   
     SeaTunnel should support IRSA authentication in EKS environments by:
     - Automatically detecting AWS_WEB_IDENTITY_TOKEN_FILE and AWS_ROLE_ARN 
environment variables
     - Using STSAssumeRoleWithWebIdentitySessionCredentialsProvider for 
authentication
   
     Proposed Solution
   
     Update AWS SDK version to 1.11.1034 or newer in seatunnel-dist/pom.xml:
   
     <aws-java-sdk.version>1.11.1034</aws-java-sdk.version>
   
     This was already attempted in PR #4468 (now closed), which successfully 
updated the AWS SDK but was closed due to missing E2E tests.
   
     Environment
   
     - SeaTunnel Version: 2.3.12
     - Deployment: Amazon EKS (Kubernetes)
     - Authentication: IRSA (IAM Roles for Service Accounts)
     - Storage: S3 for checkpoint storage
     - Current AWS SDK: 1.11.271 (March 2018)
     - Required AWS SDK: 1.11.704+ (for IRSA support)
   
     Related
   
     - Closed PR #4468: Update AWS SDK to support IRSA
     - IRSA was introduced in AWS SDK 1.11.704 (January 2020)
   
     
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to