// AI Platform Drift

Cloudflare Rules language adds HMAC and SigV4 signing functions

Cloudflare developer changelog · published 2026-11-26 21:32 UTC
WORTH KNOWING Check, no change needed APISecurity
WHAT CHANGEDCloudflare added eight functions to the Rules language: hmac_md5(), hmac_sha1(), hmac_sha256(), hmac_sha512() for keyed digests; sign_sigv4_hmac_sha256() for AWS SigV4 key derivation; format_date() for UTC timestamp formatting; and encode_hex() for digest conversion. These enable Request Header Transform Rules to authenticate reads from private Amazon S3 and Google Cloud Storage buckets. The HMAC and SigV4 functions require Pro, Business, or Enterprise plans; format_date() is available on all plans.
WHY IT MATTERSTeams proxying requests to private cloud storage through Cloudflare can now sign those requests server-side instead of exposing credentials to clients or maintaining separate signing infrastructure. This moves authentication logic into Cloudflare's edge, eliminating a class of credential-handling risk in client code.
WHAT TO DOIf you currently sign S3 or GCS requests client-side or through a separate service before they reach Cloudflare, evaluate whether moving that signing into Request Header Transform Rules reduces your credential exposure surface. Review the linked documentation for canonical request construction requirements and security considerations before implementing.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ Summary drafted by an AI model and checked by RADAR's rules
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Rules - Sign storage requests with HMAC and automatic UTC dates
+https://developers.cloudflare.com/changelog/post/2026-11-25-sigv4-hmac-date-functions/
+Wed, 25 Nov 2026 00:00:00 GMT
+
+The Rules language supports HMAC signing, Signature Version 4 (SigV4) key derivation, and UTC date formatting. Use these functions in Request Header Transform Rules to authenticate reads from private Amazon S3 and Google Cloud Storage buckets.
+
+hmac_md5(), hmac_sha1(), hmac_sha256(), and hmac_sha512() compute raw keyed digests.
+sign_sigv4_hmac_sha256() derives the signing key and returns the lowercase hexadecimal signature in one call.
+format_date() formats the request timestamp for date headers and credential scopes.
+encode_hex() converts raw digests to lowercase hexadecimal text.
+
+For example, set x-amz-date or x-goog-date dynamically using:
+format_date(http.request.timestamp.sec, "%Y%m%dT%H%M%SZ")
+The same rule can build an Authorization header from that request timestamp. Callers do not need to supply a date header. You remain responsible for constructing the canonical request and string to sign.
+The HMAC and SigV4 signing functions are available on Pro, Business, and Enterprise plans. format_date() is available on all plans without an additional entitlement. Use it in URI, request header, and response header rewrite expressions, not rule filters.
+For complete expressions and security considerations, refer to Sign requests to private S3 and GCS buckets and the Rules language function reference.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMaterial (MATERIAL) at 0.92, needed 0.5
triage reasoningNew cryptographic and authentication functions in Rules language enable private cloud storage access; plan-gated feature affects deployment options.
signalsnew API functions added to Rules language · authentication capability expansion (HMAC, SigV4) · plan-gated feature (Pro, Business, Enterprise) · integration with private cloud storage (S3, GCS) · future date (Nov 2026) marks availability · security-relevant: signing and credential handling
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)