Genvid
Documentation

Storage Connections

Connect your organization's own storage so Genvid can read your media directly from it — and, when you ask it to, write new media straight into it — instead of copying everything into Genvid.

Overview

Storage Connections let your organization bring its own storage (BYOS) — an S3-compatible bucket you already control (AWS S3, MinIO, Cloudflare R2, and similar). Once connected, Genvid touches your bucket only when an operation actually needs it, using credentials resolved for that one call and discarded immediately afterwards.

A connection is used two ways. Reading is the original case: media you already hold stays where it is, and Genvid streams it transiently when it needs the bytes. Writing is newer: when your own agent generates media and binds it with storage_class: connected, Genvid signs the result and writes that original into your bucket, keeping only a small derived proxy for display. Which of the two applies is set by your organization's residency posture — see Organization Settings → Residency.

Media that resolves through a storage connection is marked offsite throughout Genvid — see Image Editor § Offsite Media and Fixity for how offsite media appears and what its fixity status means.

Who Can Use This Feature

Storage Connections live on the Organization settings page, inside the Residency Policy section. Only users with the Admin role can add or remove connections; other members can see which connections exist but are offered no controls.

Two ways to authenticate

The connection tells Genvid where your bucket is. How Genvid proves it is allowed to touch that bucket is a separate choice, and there are two:

AWS role (recommended)Access key
Use it forAWS S3MinIO, Cloudflare R2, any S3-compatible endpoint
What you give GenvidThe ARN of a role you create in your own AWS accountAn access key ID and secret access key
What Genvid storesThe role ARN. Nothing else.Nothing in its database — the key goes to a managed secret store and the connection keeps only a pointer to it
How access is grantedYour role's trust policy. You write it, and you can revoke itThe key. You rotate or delete it
Per-call credentialFresh 15-minute session, minted on each callThe key is fetched on each call and discarded

Prefer the AWS role whenever your storage is AWS S3. It is the only option where Genvid never holds a credential of yours at all — you keep the ability to revoke access unilaterally, from your own account, without telling anyone. Access-key mode exists because MinIO, R2 and the rest have no IAM roles to assume, so there is nothing else to point at.

Key Concepts

  • Storage Connection: A registered link to a bucket your organization controls, plus the means of reaching it
  • External ID: A per-organization identifier you put in your role's trust policy. It is not a credential and grants nothing on its own — it exists so that no one else can talk Genvid into assuming a role it was not meant to touch
  • Broker role: The single Genvid identity that assumes customer roles. Its ARN is what your trust policy names
  • Offsite Media: Media whose original file resolves through a storage connection rather than living in Genvid's own storage

Accessing Storage Connections

  1. Log in to Genvid
  2. Click the Account settings button in the top-right corner of the header (user icon)
  3. Select Organization from the dropdown menu
  4. Scroll to Residency Policy, then to the Storage Connections subsection

Adding a connection: AWS role (recommended)

You create a role in your own AWS account, allow Genvid's broker to assume it, and hand over only the role's ARN.

1. Copy the trust policy

In Storage Connections, click Add connection and leave the mode on AWS role. The form shows the exact trust policy for your organization, already filled in with your External ID and the broker ARN. Click Copy trust policy.

It looks like this:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": { "AWS": "arn:aws:iam::098276506867:role/genvid-byos-broker-prod" },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": { "sts:ExternalId": "genvid-byos-…" }
      }
    }
  ]
}

2. Create the role in your AWS account

In IAM, create a role with that trust policy, then attach a permissions policy granting it access to the bucket you are connecting:

  • s3:GetObject and s3:ListBucket — required, for reading your media
  • s3:PutObject — required. Genvid writes generated originals here when you bind them at the connected tier, and validation writes a small connectivity marker (below)

s3:DeleteObject is deliberately not required. Genvid never removes anything from your bucket.

Scope the permissions policy to that bucket, and to your prefix if you use one. Genvid never needs access to anything else in your account.

3. Register the connection

Back in the Add connection dialog, fill in:

  • Name (required) — a label for this connection
  • Bucket (required) — your bucket's name
  • Region (optional) — for example us-west-2
  • Prefix (optional) — a key prefix marking the connection's root within the bucket
  • Role ARN (required) — the ARN of the role you just created

Click Add connection. Genvid validates the connection immediately — see below.

There is no Endpoint URL field in this mode. Role assumption is AWS-native, so a custom endpoint and a role are mutually exclusive — if your storage is not AWS S3, use access-key mode.


Adding a connection: access key

For MinIO, Cloudflare R2, or any other S3-compatible storage.

  1. Click Add connection and choose Access key
  2. Fill in:
    • Name (required) — a label for this connection
    • Bucket (required) — your bucket or container name
    • Region (optional) — not needed if your endpoint infers it
    • Prefix (optional) — a key prefix marking the connection's root
    • Endpoint URL (optional) — your provider's endpoint; HTTPS only. Leave blank only for AWS S3
    • Access key ID and Secret access key (both required)
  3. Click Add connection

Create a dedicated key for Genvid rather than reusing an existing one, and scope it to this bucket. Then rotating or revoking it affects nothing else you run.


Validating a connection

A connection must be validated before it can hold media. Until it passes, choosing the connected storage class is refused with an explanation rather than accepted and then failing later.

Genvid validates automatically when you add a connection, and you can re-run it any time with the Test connection button on the connection's row. The result shows on the row: Validated with a timestamp, Not validated, or Validation failed with the reason.

Validation does four things, in order:

  1. Resolves your credentials — assumes your role, or fetches your stored access key
  2. Lists your bucket at the connection's prefix, confirming the bucket name, its region, and s3:ListBucket
  3. Writes a zero-byte marker at <prefix>.genvid/connectivity-check, confirming s3:PutObject
  4. Checks that your trust policy enforces your External ID (AWS role mode only) — see below

The External ID check

In AWS role mode, validation deliberately tries to assume your role with the wrong External ID, and expects AWS to refuse.

If that attempt succeeds, validation fails and tells you so. It means your trust policy names Genvid's broker but omits its sts:ExternalId condition — the role works, and it would also work for anyone else who learned its ARN. This is the only point at which that is detectable: ordinary use presents the right External ID and succeeds either way. Copy the trust policy from the dialog again, making sure the Condition block is present, and re-test.


Viewing your originals

Everything the app shows you for connected media — thumbnails, the image editor canvas, the review strip — is served from the small proxy Genvid keeps. That is deliberate: a grid of forty thumbnails would otherwise be forty full-size reads billed to your egress.

When you want the actual original, open Media Info on the item and click View original. Genvid mints a short-lived signed link directly on your bucket, valid for five minutes, and your browser fetches the bytes from you — they do not pass through Genvid. Each of those links is recorded in the governed-access audit alongside provider handoffs, so there is a durable answer to "who was given the ability to fetch this original, and when".

An agent can do the same thing through resolve_media by passing include_original_url: true; without it the tool returns residency and fixity only, and mints nothing.

Browser access (CORS)

Whether your bucket needs a CORS policy depends on which surface you are using — they are genuinely different, and one working does not mean the other will.

SurfaceWhat it doesNeeds bucket CORS?
View original in Media InfoOpens the signed link in a new tabNo
Thumbnails, review strip, plain displayServes Genvid's proxyNo
Image editor canvasLoads pixels cross-origin so it can edit themYes, if pointed at an original
3D model viewerFetches the file to parse geometryYes, if pointed at an original

Today View original is the only path that touches your bucket from the browser, and it needs nothing from you. The other three all read Genvid's proxy. If you want them pointed at your originals, your bucket needs to allow the app's origin:

[
  {
    "AllowedOrigins": ["https://app.genvid.com"],
    "AllowedMethods": ["GET", "HEAD"],
    "AllowedHeaders": ["*"],
    "ExposeHeaders": ["Content-Length", "Content-Type"],
    "MaxAgeSeconds": 3000
  }
]

Removing a Storage Connection

  1. In the Storage Connections list, click the delete icon next to the connection
  2. Confirm the removal

If the connection used access-key mode, the stored key is deleted along with it. Reconnecting means entering a key again.

A connection that media still points at cannot be removed straight away — the request is refused and names every piece of media still referencing it, so you can move those first.


Common Questions

Does Genvid copy my files when I connect storage?

No. Genvid reads bytes from your bucket only when an operation needs them (for example, displaying a proxy or verifying fixity) and does not make a persistent copy of your originals.

Does Genvid ever write to my bucket?

Two cases, both narrow. For media it creates on your behalf: if your agent binds a generated file with storage_class: connected, Genvid writes that signed original into your bucket and keeps only a small derived proxy so the file still appears in the app. And when you validate a connection, it writes one empty marker object at .genvid/connectivity-check under your prefix, so that a connection reported as healthy has actually been proven writable.

It never modifies or deletes anything that was already there — Genvid does not ask for s3:DeleteObject at all. Connected-tier originals are currently supported for image and video.

What storage providers are supported?

Any S3-compatible storage: AWS S3, MinIO, Cloudflare R2, and similar. Use AWS role mode for AWS S3; use access-key mode with your provider's endpoint for anything else.

Which mode should I choose?

AWS role, if your storage is AWS S3. It is the only mode in which Genvid holds no credential of yours, and it lets you cut off access from your own account at any moment by editing the role. Choose access key only when your storage has no IAM to assume.

Is the External ID a secret?

No. It grants nothing on its own — it is a condition your own trust policy checks, in your own account. It exists so that possession of the broker ARN alone is not enough to reach your bucket. Treat it as an identifier, not a credential.

Can I revoke access without involving Genvid?

Yes, and that is the point of role mode. Delete the role, or remove the trust-policy statement, and Genvid loses access immediately — no ticket, no coordination. In access-key mode the equivalent action is rotating or deleting the key at your provider.

Where does my access key actually live?

In a managed secret store, under a path scoped to your organization and to that one connection. Genvid's application database holds only a pointer to that location, and a connection is structurally prevented from reading a secret belonging to any other organization.

What happens to media if I remove a connection?

Media that resolved through that connection becomes unreadable — its fixity status will show as unavailable — until you reconnect equivalent storage. See Image Editor § Offsite Media and Fixity for what the fixity states mean.


Next Steps

  • Image Editor - See how offsite media and fixity status appear on your images
  • Content Provenance - Understand the difference between C2PA provenance and fixity verification