clarkie / dynogels

DynamoDB data mapper for node.js. Originally forked from https://github.com/ryanfitz/vogels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

in serverless , I can defines the permission policy for the Lambda function. but if I want to use dynogels I have to give to secret key for init (Security)

Wolke opened this issue · comments

commented

as tilte.

@Wolke I don't know why it would be necessary. Dynogels just uses the AWS nodejs SDK directly, and the SDK should be able to automatically use IAM roles assigned to Lambdas.

We are using Dynogels in production with EC2 IAM roles without any issues.

If you are having problems, please post your Lambda's source code along with the Lambda error you are seeing.

commented

do not have any bug in Lambda function ,
but give up the best security way what AWS give to lambda.

@Wolke I'm not sure I understand the question. IAM roles are the standard way to give permissions to a Lambda function.