I recently started to use AWS services and periodically I check the usage quantity of the various resources that I have allocated.
My AWS configuration consists of AppSync with a Lambda resolver which interacts with an RDS MySQL DB through a RDS Proxy. While the Lambda authenticates to the RDS Proxy through an IAM role, the authentication between proxy and MySQL database is through a password stored as a secret in the AWS Secret Manager. I am sure that my database has been queried less than 400 times however, in the billing page I see that more than 60000 API requests have been performed to the secret manager.
Why so many API requests? Is there a way to monitor the amount of requests destined to the secret manager?
I looked now at CloudTrail. It seems that the proxy requests the secret with a very high frequency (about 2 requests per minute). Why so many requests? (I don't know if it could be related, but I have stopped the RDS database for one week)
I don't know why that is. I'd suggest creating a support case and get them to liaise with the service team.