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 Antwort
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
EXPERTE
beantwortet vor 10 Monaten
profile pictureAWS
EXPERTE
überprüft vor 10 Monaten
  • 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.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen