Skip to content

Object Storage

DefendableCloud stores receipt artifacts (JSON + PDF) in S3-compatible object storage via boto3.

VariableNotes
AWS_ENDPOINT_URL_S3Default https://fly.storage.tigris.dev.
AWS_REGIONDefault auto (Tigris).
AWS_ACCESS_KEY_IDStorage key.
AWS_SECRET_ACCESS_KEYStorage secret.
TIGRIS_BUCKETBucket name. Default defendable-cloud; production fly.toml sets defendable-cloud-v2.

Tigris is the default backend (the endpoint and auto region above). Because access goes through boto3, R2 and AWS S3 are S3-compatible alternatives — point AWS_ENDPOINT_URL_S3 (and region/credentials) at the provider you want.

Artifact upload is best-effort: the JSON + PDF receipt write is wrapped in try/except. The authoritative per-org hash chain lives in Postgres, so a storage outage degrades gracefully and never blocks a receipt.


🐝 Operator-grade · books and records · to the shed.