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 Risposta
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
ESPERTO
con risposta 10 mesi fa
profile pictureAWS
ESPERTO
verificato 10 mesi fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande