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
gefragt vor 9 Monaten252 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 9 Monaten
profile pictureAWS
EXPERTE
Uri
überprüft vor 9 Monaten

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