Do not use master credentials

The username and password supplied when creating the RDS cluster have the role of rds_superuser, which grants permissions to the user for doing advanced database management activities. It is recommended that a service user can be created whose credentials can be distributed to clients accessing the database (for example, a lambda function).

This makes credential-rotation easy and prevents the proliferation of master credentials.

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.