AWS Lambda (NET6): How to use AWS Parameter Store in local application?

0

I am developing AWS Lambda NET6 using VS2022 AWS Template containing LocalEntryPoint ans LambdaEntryPoint. How can I use AwsSsmService in the local app? it is may be useful for debuggung etc

Oleg
已提问 10 个月前266 查看次数
1 回答
0

Hello.
If you want to use AWS services during local development, you can create an IAM user and issue an access key.
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey

After issuing the access key, you can configure it with the "aws configure" command.
https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html

If your AWS account is managed by AWS Organizations, you can also use SSO user credentials without issuing access keys.
https://repost.aws/knowledge-center/sso-temporary-credentials

profile picture
专家
已回答 10 个月前
profile pictureAWS
专家
已审核 10 个月前
  • Hi, additionally you can give your SSM credentials to a role rather than to the user that you will create. Then this user can endorse the role with the credentials to use SSM. Later on, when same actiivity is done by your Lambda, the needed role will already be present and tested.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则