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

IAM role instead of access keys #273

Closed
tvb opened this issue Jan 14, 2018 · 2 comments
Closed

IAM role instead of access keys #273

tvb opened this issue Jan 14, 2018 · 2 comments

Comments

@tvb
Copy link

tvb commented Jan 14, 2018

Why doesn't dynamoose accept IAM roles? Much more safe as you don't have to distribute access keys with the risk publishing them somewhere on the internet

info https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html

@ricxsar
Copy link

ricxsar commented Feb 14, 2018

Hello @tvb. I am a user of this library on an ec2 instance and it working fine on me without specifying access keys. I am assigning AmazonDynamoDBFullAccess policy on the role assigned to ec2 instance.

@fishcharlie
Copy link
Member

@tvb, @ricxsar is correct. I have used this library using IAM roles assigned to EC2 instances and it works just fine. Dynamoose is just a wrapper for the AWS Javascript SDK, so the core of this library is still AWS.

I'm going to close this issue now, if you have any more questions regarding this or need help please feel free to reply again.

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

3 participants