RealComposer
FramerCloudinarySecurity & Secret Vault

Cloudinary upload api proxy for framer website

Framer sites with server-side upload signing

Direct Answer & Architecture Summary

Framer components hit RealComposer for signed upload parameters. For "cloudinary upload api proxy for framer website", store CLOUDINARY_BASIC_AUTH in Secret Vault, call https://api.cloudinary.com/v1_1/{{secrets.CLOUDINARY_CLOUD_NAME}}/image/upload from a Worker, and let Framer hit only https://realcomposer.com/v1/workspace/cloudinary-upload-proxy-framer with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Security LevelAES-256-GCM Vault
Edge LatencySub-10ms Response
InfrastructureZero Server Maintenance
The Problem Solved

Why Framer leaks Cloudinary credentials

Attackers routinely extract Cloudinary secrets from Framer builds. Direct browser calls also expose internal error payloads with hostnames.

Critical Security & Operational Risks:
  • Production Cloudinary keys copied from Framer bundles
  • Compliance violations after credential leaks
  • Attackers replaying vault-grade scopes from a laptop
Architecture & Step-by-Step Implementation

How RealComposer Solves This at the Edge

1

Add vault secrets for this pipeline

Add CLOUDINARY_BASIC_AUTH to RealComposer Secret Vault. Values decrypt only inside the Cloudflare Worker that calls the upstream.

2

Set headers, mapping, and cache TTL

Use POST against https://api.cloudinary.com/v1_1/{{secrets.CLOUDINARY_CLOUD_NAME}}/image/upload. Allowed origins on the client token should match post pipelines set cache ttl to 0 because realcomposer only stores get responses at the edge. Use a restricted unsigned upload preset. The vault cannot sign upload bodies; preset rules enforce MIME and size limits.

3

Fetch inside Framer overrides

Call https://realcomposer.com/v1/workspace/cloudinary-upload-proxy-framer with a restricted rc_live_ client token. Framer never sends upstream secrets.

                    fetch('https://realcomposer.com/v1/workspace/cloudinary-upload-proxy-framer', {
  headers: { Authorization: 'Bearer rc_live_your_token' }
});
                  
Payload Slimming Comparison
84% Bandwidth Reduction
Raw Upstream Response249 B
              {
  "requestId": "req_cloudina",
  "upstreamLatencyMs": 142,
  "audit": {
    "region": "edge",
    "trace": "cloudinary-upload-proxy-framer"
  },
  "payload": {
    "id": "sample_id",
    "status": "active",
    "nested": {
      "tags": [
        "demo"
      ],
      "internal": true
    },
    "unused_blob": {
      "foo": "bar",
      "bar": "baz"
    }
  }
}
            
RealComposer Slimmed Edge Payload39 B
              {
  "publicId": "sample",
  "format": "sample"
}
            

Recipe Specs

HTTP method
POST
Upstream calls
1
Edge cache TTL
No caching
Client auth
Restricted client token
Mapped output fields
2
Payload
249 B to 39 B (-84%)
Call from Terminal or Client
curl -X POST "https://realcomposer.com/v1/workspace/cloudinary-upload-proxy-framer" \
  -H "Authorization: Bearer rc_live_client_token" \
  -H "Content-Type: application/json" \
  -d '{"model":"example"}'
Frequently Asked Questions

Developer Questions & Troubleshooting

Can Framer call Cloudinary without holding the production key?

Point Framer at /recipes/cloudinary-upload-proxy-framer edge URL. RealComposer answers OPTIONS with Access-Control headers for allowed origins.

Does POST traffic get cached?

cloudinary-upload-proxy-framer POST steps bypass caches.default even if cacheTtlSeconds is set in the dashboard.

Can I restrict which domains call this pipeline?

Rotate vault secrets for cloudinary-upload-proxy-framer anytime; clients keep the same rc_live_ token.

Sources & Definitions Used in This Answer

Instant Deployment

Deploy this Framer + Cloudinary Recipe

Clone this pre-configured pipeline into your RealComposer workspace in one click. We pre-populate upstream URLs, headers, and mapping rules.

CLONE THIS RECIPE
Related Architecture Recipes