Skip to content

Conversation

carhaz
Copy link

@carhaz carhaz commented Oct 15, 2025

Bugfix to set AwsSessionCredential expiration time so expiration time is retrievable for ContainerCredentialsProvider. Current clients cannot get the expiration time for session credentials in ECS containers using the java sdk.

Motivation and Context

Bugfix to set AwsSessionCredential expiration time so expiration time is retrievable for ContainerCredentialsProvider. Current clients cannot get the expiration time for session credentials in ECS containers using the java sdk.

Modifications

Adding line to builder in HttpCredentialsLoader.java for the builder for the AwsSessionCredentials.

Testing

mvn test -pl :auth

Ran targeted test because install failed on netty test before I even made changes.

Screenshots (if appropriate)

Types of changes

  • [ x] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • [ x] I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • [x ] I have added tests to cover my changes
  • [x ] All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • [x ] I confirm that this pull request can be released under the Apache 2 license

@carhaz carhaz requested a review from a team as a code owner October 15, 2025 22:37
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.

2 participants