{
  "id": "policy/cloudfront-signed-url-expired",
  "signature": "AccessDenied: The request could not be satisfied. The key pair ID 'K12345678' is not valid for this distribution.",
  "signature_zh": "访问被拒绝：请求无法满足。密钥对ID 'K12345678'对此分配无效。",
  "regex": "AccessDenied:.*key pair ID.*not valid for this distribution",
  "domain": "policy",
  "category": "auth_error",
  "subcategory": null,
  "root_cause": "CloudFront signed URL uses an expired or revoked key pair ID, causing all requests to fail.",
  "root_cause_type": "generic",
  "root_cause_zh": "CloudFront签名URL使用了过期或已吊销的密钥对ID，导致所有请求失败。",
  "versions": [
    {
      "version": "AWS CloudFront (2024-01)",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "AWS SDK v2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The key pair ID is invalid, not the URL format. Regenerating doesn't fix the root cause.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The console shows the key pair ID, but the actual key material may be expired or mismatched.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "CloudFront does not automatically rotate key pairs; manual intervention is required.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Generate a new CloudFront key pair using AWS CLI: `aws cloudfront create-public-key --public-key-config '{\"CallerReference\":\"my-key-2024\",\"Name\":\"my-key\",\"EncodedKey\":\"<public_key_pem>\"}'`, then update the distribution to use the new key pair ID.",
      "success_rate": 0.9,
      "how": "Generate a new CloudFront key pair using AWS CLI: `aws cloudfront create-public-key --public-key-config '{\"CallerReference\":\"my-key-2024\",\"Name\":\"my-key\",\"EncodedKey\":\"<public_key_pem>\"}'`, then update the distribution to use the new key pair ID.",
      "condition": "",
      "sources": []
    },
    {
      "action": "If using a custom origin, switch to signed cookies instead of signed URLs to avoid key pair dependency.",
      "success_rate": 0.8,
      "how": "If using a custom origin, switch to signed cookies instead of signed URLs to avoid key pair dependency.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Generate a new CloudFront key pair using AWS CLI: `aws cloudfront create-public-key --public-key-config '{\"CallerReference\":\"my-key-2024\",\"Name\":\"my-key\",\"EncodedKey\":\"<public_key_pem>\"}'`, then update the distribution to use the new key pair ID.",
    "If using a custom origin, switch to signed cookies instead of signed URLs to avoid key pair dependency."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html",
  "official_doc_section": null,
  "error_code": "AccessDenied",
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.9,
  "resolvable": "true",
  "first_seen": "2024-03-15",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}