zedkit
@zedtech/zedkit-storage

Load storage config and create a client

Fail fast on missing env vars; explicit access keys only (no default credential chain).

alpha

At a glance

  • Who: Boot-time wiring in APIs and workers.
  • What: Fail fast on missing env vars; explicit access keys only (no default credential chain).
  • Use when: Any service that talks to S3 or a compatible provider (MinIO, R2, etc.).
  • Avoid when: Browser uploads without a server — still need a backend to presign.

Install

pnpm add @zedtech/zedkit-storage

Latest: 0.1.0 (via changesets).

Example

Usage
import { createS3Client, loadStorageConfig } from "@zedtech/zedkit-storage";
const config = loadStorageConfig();
const client = createS3Client(config);

Wraps: @aws-sdk/client-s3 (peer)

On this page