AWS CloudFront
EdgeTrust extracts CloudFront service prefixes from Amazon's public IP ranges document.
Official source
EdgeTrust filters entries where the service is CLOUDFRONT (IPv4 and IPv6 prefixes as published).
Enable
ini
EDGE_TRUST_PROVIDERS=aws_cloudfrontProvider key: aws_cloudfront (underscore).
Notes
- The Amazon JSON document contains many AWS services. Only CloudFront prefixes are trusted by this provider.
- Amazon updates
ip-ranges.jsonperiodically; schedule sync or rely on hybrid/runtime refresh so Laravel stays current.
Origin access
Prefer CloudFront origin access controls / private origins so clients cannot bypass CloudFront and hit Laravel directly. Trusting CloudFront CIDRs alone does not enforce that topology.
Sync
bash
php artisan edge-trust:sync --provider=aws_cloudfront