dynasty icon indicating copy to clipboard operation
dynasty copied to clipboard

Unable to use IAM role credentials in Lambda

Open xavier-musy opened this issue 8 years ago • 6 comments

Rather than having to configure credentials explicitly, I'd like to use the IAM user execution role permissions.
http://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html

I've simulated that this works fine. However, dynasty needs explicit credentials, and using process.env credentials doesn't work in Lambda, see this thread: https://gist.github.com/cmawhorter/3cf67164414c4a97fcd8

xavier-musy avatar Sep 02 '16 15:09 xavier-musy

Ooooo good catch, I'll work out a way to use IAM credentials!

This, like many other missing features of Dynasty, simply didn't exist in 2013 when we initially wrote this library. Will update!!

Cheers, Victor Sent from my iPhone

On Sep 2, 2016, at 11:55 AM, Xavier Musy [email protected] wrote:

Rather that having to configure credentials explicitly, I'd like to use the IAM user execution role permissions.

http://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html

I've simulated that this works fine. However, dynasty needs explicit credentials, and using process.env credentials doesn't work in Lambda, see this thread: https://gist.github.com/cmawhorter/3cf67164414c4a97fcd8

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

victorquinn avatar Sep 03 '16 19:09 victorquinn

👍

xavier-musy avatar Sep 04 '16 15:09 xavier-musy

+1

gozup avatar Nov 24 '16 17:11 gozup

What is the status on this?

davidplappert avatar Oct 21 '17 14:10 davidplappert

like really, whats the status here?

p0fi avatar Aug 31 '18 12:08 p0fi

Added a PR to address this...

brianknight10 avatar Oct 18 '18 18:10 brianknight10