Skip to content

Conversation

@devinrsmith
Copy link
Contributor

Closes #13131

@github-actions github-actions bot added the AWS label May 22, 2025
@devinrsmith
Copy link
Contributor Author

@SanjayMarreddi, I think should look at this since you were responsible for #12503?

: awsClientProperties.credentialsProvider(accessKeyId, secretAccessKey, sessionToken));
}

public <T extends S3AsyncClientBuilder> void applyCredentialConfigurations(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these two different hierarchies? Just wondering why we need two versions of this but I'm not familiar with AWS's code here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great suggestion. There is a shared hierarchy targeted for S3ClientBuilder and S3AsyncClientBuilder that is part of the AWS public API, S3BaseClientBuilder.

@RussellSpitzer RussellSpitzer merged commit a8b4245 into apache:main May 29, 2025
42 checks passed
@RussellSpitzer
Copy link
Member

Merged. Thanks for the contribution @devinrsmith and the reviews @malhotrashivam !

@devinrsmith devinrsmith deleted the s3-async-credentials branch May 29, 2025 18:09
devinrsmith added a commit to devinrsmith/iceberg that referenced this pull request May 29, 2025
This was noted as something desirable during the review of apache#13132; using `S3BaseClientBuilder` removes some duplication from applyEndpointConfigurations.
devendra-nr pushed a commit to devendra-nr/iceberg that referenced this pull request Dec 8, 2025
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.

AWS: DefaultAwsClientFactory s3 / s3Async credentials are not equivalent

3 participants