1 Answer
- Newest
- Most votes
- Most comments
0
Using the Data API in Aurora Serverless v1 requires the use of credentials registered in AWS Secrets Manager, so the use of Secrets Manager is essential.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html
Users don't need to pass credentials with calls to the Data API, because the Data API uses database credentials stored in AWS Secrets Manager. To store credentials in Secrets Manager, users must be granted the appropriate permissions to use Secrets Manager, and also the Data API. For more information about authorizing users, see Authorizing access to the Data API.
If the Data API is not used, the connection must be made from JavaScript using the mysql module, etc. as before.
https://www.npmjs.com/package/mysql
Relevant content
- Accepted Answerasked 2 years ago
- asked 7 months ago
- Accepted Answerasked 16 days ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago