- Newest
- Most votes
- Most comments
To stop RDS password rotation for an Aurora MySQL cluster managed in AWS Secrets Manager, you need to adjust the rotation settings in Secrets Manager. Here's what you can do:
1.Navigate to AWS Secrets Manager in the AWS Management Console.
2.Find the secret corresponding to your Aurora MySQL cluster's credentials.
3.Select the secret and click on "Rotation configuration."
4.Disable rotation by selecting "Disable automatic rotation."
Save your changes. This should stop the automatic password rotation for your RDS instance. Disabling rotation won't break anything, but it's essential to ensure that your application's connection settings are updated accordingly. Since you're managing the password in your Spring Boot service via environment variables, you'll need to manually update the password there if it changes in the future.
Once you've implemented the manual rotation solution with "aws-secretsmanager-jdbc," you can revisit Secrets Manager to enable rotation again if needed. https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html
Relevant content
- Accepted Answerasked 8 months ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago