1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
Hi,
When running in Lambda, you don't want to use env var for access keys and secret keys: it is a bad practice.
You rather want to use the Lambda execution role and grant it the service credentials needed by your use case: https://docs.aws.amazon.com/lambda/latest/dg/lambda-intro-execution-role.html
This article explains very well how to use the execution role: https://medium.com/aws-lambda-serverless-developer-guide-with-hands/aws-lambda-permissions-execution-role-and-resource-based-policies-be2e325998fc
Best,
Didier
関連するコンテンツ
質問済み 2年前
