aws-samples / aws-secrets-manager-rotation-lambdas

Contains Lambda functions to be used for automatic rotation of secrets stored in AWS Secrets Manager
MIT No Attribution
330 stars 282 forks source link

Add multi-user rotation support for RDS Managed Master Password feature #96

Closed adithyasolai closed 1 year ago

adithyasolai commented 1 year ago

RDS has launched a new integration with Secrets Manager that auto-creates a managed Secret for Master User credentials when an RDS Instance is first created (Launch Announcement).

The Master User Secret has a different secret content format than what we usually expect for Multi-User Rotation. This PR updates this repo with new Multi-User Rotation Lambda code that is compatible with the new Managed Master User Secret format.

(This new code is already automatically vended to customers when they set up rotation, but I am also updating the source code here.)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.