umegaya / lua-aws

pure-lua implementation of aws REST APIs
122 stars 35 forks source link

can specify role instead of credentials @ AWS instance #49

Closed umegaya closed 6 years ago

umegaya commented 6 years ago

refs #47

detail

at AWS instance, able to get credentials automatically by setting IAM role name which is set to the instance.

see test/iam_role.lua for usage.

consideration

if only one role for the instance, automatically use this? but this requires 2 round trips...

umegaya commented 6 years ago

I will merge this because I believe it works although original reporter has long time no response. (see #47)