AWS lambda plugin chain provider

Is It posible use a chain provider from IAM role instead of add manually the credentials?

Kind regards
Cayetano

Hi,

I am not sure what you mean exactly. If you could elaborate on your use-case, that’d be great. We recently received a PR for IAM roles on the proxy side:

Does this seem like something you are referring to?

After the review ot that PR I have seen another one that it’s related with my issue https://github.com/Kong/kong/pull/2777

So I think that right now It’s not possible

Kind regards
Cayetano

Yes, you would be correct in that most likely, what you are asking for is not currently possible, given Kong has no integration with IAM roles as of today.

This other PR relates to the Lambda plugin though, not the proxy itself.

But again, an explanation of your use-case would be most helpful, this way we can ensure an existing PR (or future one) eventually supports it.

My use case is the following one:

Use kong instead the AWS api gateway for lambdas and not pass the AWS credentails manually, using the IAM role of the machine that is executing kong

Kind regards
Cayetano

@neoshadybeat Tanks for sharing!