Allow connector to create an AWS session with default credentials
dfreiman-hbo opened this issue · 3 comments
dfreiman-hbo commented
In some environments it may be preferable for the AWS sdk to determine the credentials instead of having them passed in.
Proposal:
If the AWS_SDK_LOAD_CONFIG
environment variable is unset and the access id is not passed, the session should be created with just the region. Credentials will be read by the AWS sdk.
Details:
- Add a new condition to connector.go Connect() if c.config.GetAccessID() is empty.
- Update Readme to include enhancement
- I might need guidance on how to include new tests. The current tests are missing credentials.
I am willing to create a pull request for this if approved (and when my employer's legal dept approves).
henrywoo commented
@dfreiman-hbo Please feel free to create a PR. I guess you need to write some mock code for credential authentication.
dfreiman-hbo commented
Should I have bumped the version as done in 137ed81 ?
henrywoo commented
Thanks @dfreiman-hbo I will do it over the weekend.