KoteiIto / node-athena

a nodejs simple aws athena client
MIT License
105 stars 73 forks source link

Feature/support sts assumerole #44

Closed Chotis closed 5 years ago

Chotis commented 5 years ago

Added an additional parameter which is required by AWS.STS to assume an AWS role.

See below link for more information. The first answer has the relevant code.

https://stackoverflow.com/questions/45989042/using-profile-that-assume-role-in-aws-sdk-aws-javascript-sdk

Chotis commented 5 years ago

I'm not to sure if my build was correct. First time doing a typescript build and noticed a couple of differences between the original branch and my build.

Chotis commented 5 years ago

I will close this since I've realized for this to work there are a couple more changes required. Will create a new pull request once those are added.