
Implement a secure API key-based authorization system using Amazon API Gateway, AWS Lambda Authorizer, and AWS Secrets Manager.
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-secretsmanager-apikey-cdknpm installcdk deploy./create_api_key.sh sample-tenantcurl -H "x-api-key: CREATED_API_KEY" https://REPLACE_WITH_CREATED_API_URL.amazonaws.com/prod/protected{ "message": "Access granted" }cdk destroy./remove_secrets.sh