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 個月前檢視次數 265 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南