1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
Assuming you have some requirements that demands your lambda to access secrets, the extension approach is much, much better then a direct aws api call to the secrets client.
Moreover the extensions has got environments variables that support caching: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets_lambda.html#retrieving-secrets_lambda_env-var
You probably should evaluate lambda with powertools to assess different approaches.
関連するコンテンツ
- AWS公式更新しました 3年前
I was hoping that AWS would have done this and could have shared the results with us ;)