All checks
Medium CloudFront · account

CloudFront distributions should use trusted key groups for signed URLs and cookies

Checks that every cache behavior of a CloudFront distribution restricts viewer access with a trusted key group. A behavior on legacy trusted signers fails, since only the root user can manage their key pairs, and so does one with no signed URL or cookie restriction at all; the evidence line says which.

service
CloudFront
severity
Medium
scope
evaluated once per account

How to fix it

  • Can break clients: Restricting viewer access makes CloudFront reject every request without a valid signed URL or cookie, so leave a deliberately public behavior at No and mark this finding Won't fix.

In the console

CloudFront → Distributions → the distribution → Behaviors → the behavior → Edit

Restrict viewer access
Yes, on every behavior that serves private content
Trusted key groups or Trusted signer
Trusted key groups, with a key group holding your public key (CloudFront → Public keys, Key groups)
Key-Pair-Id in each signed URL or cookie
The public key's ID from CloudFront → Public keys, not the old CloudFront key pair ID

See which of your accounts this check is failing on.

Book a live scan