We have an issue where we create an RDS cluster and then some instances, and we attempt to extract out the Secret for it (to extract password). (letting RDS manage it)
Were running into an issue where we extract the secret based on the clusters secret arn, but have noticed issues where it is not matching what is in secrets manager.. looking thru process, it seems when an instance is created, it causes it to update the secret at that point... This results in different values being returned to our application.
Is there a process that is missing that we need to do, or is the recommendation for us to create our own secret + rotation and just pass it over to the cluster/instances ourselves?
This raised its head as we were disabling the automatic rotation for now but noticed it kept being re-enabled, and determined it was due to the instance creation..