A company is testing its incident response plan for compromised credentials. The company runs a database on an Amazon EC2 instance and stores the sensitive database credentials as a secret in AWS Secrets Manager. The secret has rotation configured with an AWS Lambda function that uses the generic rotation function template. The EC2 instance and the Lambda function are deployed in the same private subnet. The VPC has a Secrets Manager VPC endpoint.
A security engineer discovers that the secret cannot rotate. The security engineer determines that the VPC endpoint is working as intended. The Amazon CloudWatch logs contain the following error: "setSecret: Unable to log into database".
Which solution will resolve this error?
yorkicurke
Highly Voted 8 months, 1 week agoDaniel76
Most Recent 8 months, 1 week agoconfusedyeti69
9 months agoJPSWS
8 months, 2 weeks agoAamee
9 months, 1 week ago[Removed]
9 months, 1 week agooioi
9 months, 2 weeks ago