1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
【以下的回答经过翻译处理】 您可以通过CloudFront将流量发送到您的API Gateway,并使用API密钥保护API Gateway。
所以您将拥有“api.example.com”-> CloudFront(在其中验证cookie并添加X-API-KEY到请求-> API Gateway)。要添加x-api-key,您可以在CloudFront设置中指定它,而无需使用Lambda @ Edge https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html
这里提供了如何使用API Gateway自己的CloudFront分发来配置API Gateway的信息。
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a 10 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans