Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use IAM role credentials in Lambda #87

Open
xavier-musy opened this issue Sep 2, 2016 · 6 comments
Open

Unable to use IAM role credentials in Lambda #87

xavier-musy opened this issue Sep 2, 2016 · 6 comments

Comments

@xavier-musy
Copy link

xavier-musy commented Sep 2, 2016

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

@victorquinn
Copy link
Owner

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.

@xavier-musy
Copy link
Author

👍

1 similar comment
@gozup
Copy link

gozup commented Nov 24, 2016

+1

@davidplappert
Copy link

What is the status on this?

@p0fi
Copy link

p0fi commented Aug 31, 2018

like really, whats the status here?

@brianknight10
Copy link

Added a PR to address this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants