This project provides an automated solution for rotating API keys used between Amazon CloudFront and an API Gateway origin. It utilizes AWS Lambda and Secrets Manager to generate, test, and update API keys without manual intervention, enhancing security and compliance. The process includes creating, testing, and activating new API keys while updating CloudFront configurations seamlessly. It reduces the risk of compromised keys and adheres to security best practices.