Skip to content

Conversation

@redwarn
Copy link

@redwarn redwarn commented Oct 22, 2025

This PR enhances the AWS configuration logic by introducing support for the AWS default credential provider chain.
When accessKey and secretKey are empty, allowing it to automatically load credentials from multiple AWS-supported sources such as:

Environment variables

  • Shared credentials/config files (~/.aws/credentials, ~/.aws/config)
  • EC2/ECS instance roles
  • EKS Pod Identity

This change improves flexibility and simplifies configuration in environments where credentials are already managed by AWS.

Changes

Updated getAwsConfig to use the AWS default credential chain when accessKey or secretKey is not provided.
Retains existing behavior (manual static credentials) when both keys are explicitly specified.

@redwarn
Copy link
Author

redwarn commented Oct 22, 2025

sorry , i updated and In my environment the test passed

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.

1 participant