Lambda function for insert database and delete database

0

Hi, I am new to Amazon services. I am a mobile developer, and we want to use Amazon's basic services for saving data in a database. When we need the data, we'll make a GET request to fetch it on the mobile app. I have successfully created an API and connected it, but I now want to use Lambda functionality to save data in the database.

A - My question is, how can I implement authentication for the database when the mobile app requests to insert data? B - Also, how can I view the data in a structured manner, like a table in the database?

Steven
質問済み 9ヶ月前252ビュー
1回答
1

Hello.
Database credentials are often managed in the Systems Manager parameter store or in the Secrets Manager.
This allows for secure management of authentication information.
From the application, code to retrieve database credentials from the Secrets Manager using the AWS SDK.
https://docs.aws.amazon.com/secretsmanager/latest/userguide/hardcoded-db-creds.html

I think you would need to implement it in your application to display the table as if it were a database.
For example, javascript can use the mysql module to retrieve data from a database.

profile picture
エキスパート
回答済み 9ヶ月前
profile pictureAWS
エキスパート
Uri
レビュー済み 9ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ