---
name: minio
description: "S3-compatible object storage via MinIO"
version: "0.1.0"
entry: ./adapter.ts
npm_deps:
  required:
    - minio
  optional: []
fields:
  - key: endpoint
    label: "MinIO Endpoint"
    required: true
    sensitive: false
  - key: bucket
    label: "Bucket"
    required: true
    sensitive: false
  - key: access-key
    label: "Access Key"
    required: true
    sensitive: true
  - key: secret-key
    label: "Secret Key"
    required: true
    sensitive: true
  - key: region
    label: "Region"
    required: false
    sensitive: false
  - key: use-ssl
    label: "Use SSL"
    required: false
    sensitive: false
health_check: list_objects
keywords:
  - storage
  - s3
  - minio
  - object-storage
---

S3-compatible object storage adapter using the MinIO client library. Supports
listing, reading, writing, and deleting objects, plus pre-signed URL generation.

## Operations

| Operation | Access | Description |
|-----------|--------|-------------|
| `list_objects` | read | List objects in the bucket |
| `get_object` | read | Download an object |
| `presign` | read | Generate a pre-signed URL |
| `put_object` | write | Upload content as an object |
| `delete_object` | write | Delete an object |

## Configuration

```yaml
connectors:
  - id: assets
    adapter: minio
    access: read-write
    options:
      endpoint: https://minio.example.com
      bucket: my-bucket
      access-key: env:MINIO_ACCESS_KEY
      secret-key: env:MINIO_SECRET_KEY
```
