Mediathek docs

Decisions

ADR-0006 — Edges register with the digitalhome.cloud device flow, and write media through it

Status: Accepted · Date: 2026-09-29

Context

The catalog and the bucket are filled by mediathek-digitalhome-edge, a local tool that hashes, renders and uploads on the curator's workstation. It needs to write to a cloud it has no account in. The first draft handed it the curator's own AWS credentials and had it write DynamoDB directly. That meant account-admin keys on every edge, no revocation short of rotating them, and a second writer that knows the table layout.

digitalhome.cloud already solved this for digitalhome-edge boxes: DH-SPEC-100, an RFC 8628 device authorization grant whose wire spec is digitalhome-edge/docs/specs/edge-cloud-api.md v0.2, implemented in digitalhome-cloud-darkfactory/repos/core.

Decision

The Mediathek uses the same mechanism, on the same wire.

Consequences