Lolly
Abrir o app

Cloudinary (kind: cloudinary)

Nota: Lolly Work

This guide covers the optional organisation service. Configuration, console and API paths refer to your Work instance. The packaged console keeps its release-matched copy of this guide.

Read-only federation of one Cloudinary product environment. Assets use immutable asset IDs; the browser receives Work URLs. Upload, transformation, AI agents and outbound delivery are separate services and are not enabled by connecting this source.

What you need

The advanced Providers > Cloudinary form accepts the options below. The CLI offers the same source. A shared service identity does not automatically carry individual users' upstream folder permissions; configure Work exposure explicitly.

Credential shape

Store JSON containing apiKey and apiSecret in the write-only credential control or through lw providers credential cloud-media. Do not put either value in options, argv or a URL. For config-managed sources, credentialRef identifies an environment variable containing that JSON. The API secret signs short-lived server-side downloads. No secret or signed URL enters the feed.

instance.json

{
  "id": "cloud-media",
  "kind": "cloudinary",
  "label": "Approved media",
  "options": {
    "cloudName": "your-cloud",
    "region": "us",
    "assetFolder": "Brand/Approved",
    "pageSize": 100,
    "minGapMs": 7500,
    "approvedTag": "approved-for-lolly"
  },
  "credentialRef": "CLOUDINARY_READ_CREDENTIAL",
  "exposure": { "groups": ["design"], "requireApproved": true },
  "mapping": { "availabilityFields": { "from": "context.release", "until": "context.expiry" } },
  "sync": { "ttlSeconds": 300, "maxAssets": 100000 }
}

approvedTag is an administrator-defined convention, not a moderation result or a licence. Without that option approval remains unknown, so requireApproved exposes nothing. Availability names read contextual metadata by default; context. is an optional prefix. metadata. reads structured metadata and requires includeMetadata: true plus the applicable Search entitlement. Set dates in ISO 8601; invalid dates fail mapping rather than remove a gate. No contextual territory, talent or channel clearance is inferred from these fields.

Verify

lw providers preview --kind cloudinary --options '{"cloudName":"your-cloud","assetFolder":"Brand/Approved","minGapMs":7500}' --shape
lw providers add cloud-media --kind cloudinary --label "Approved media" --options '{"cloudName":"your-cloud","assetFolder":"Brand/Approved","minGapMs":7500}'
lw providers credential cloud-media
lw providers health cloud-media
lw providers sync cloud-media
lw providers enable cloud-media

The credential prompt is hidden. Review the mapped sample, groups and source scope before enabling. Complete the tenant verification, including original checksums and private assets. Shape reports contain field names/types, not source values.

Options

cloudName is required. region defaults to us and selects a fixed API host. assetFolder is exact and case-sensitive. pageSize is 1-500, default 100. minGapMs is 0-60000, default 2000, and spaces requests within one driver instance; it is not a global rate limiter. includeMetadata defaults false. approvedTag has no default.

Notes / limits

Off-boarding

Use Work's normal materialise/drift process after the tenant pass proves original fidelity. Preserve source metadata and explicitly export any additional review/rights/history records; this driver does not migrate the full DAM configuration. A Lolly version check is not a vendor backup guarantee. See offboarding.

Contracts: Search, Admin API, download by asset ID, billing.