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

1 Answer
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
EXPERT
answered 9 months ago
profile pictureAWS
EXPERT
reviewed 9 months ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions