# Destinations

Each stream delivers to one destination. Streams in the same organization can share a destination and keep their own `stream_id`. Buckets receive gzip NDJSON objects. For table destinations, Send2Bucket appends rows through the catalog. See [Delivery format](../delivery-format.md) for both layouts.

Settings are stored as plain configuration; credentials are stored encrypted in Supabase Vault and never shown again.

| Kind | Settings | Credentials | A batch is delivered when |
|---|---|---|---|
| [Amazon S3](./aws-s3.md) | `bucket`, `region`, `prefix`, `role_arn` | none: Send2Bucket assumes your role with an external ID | S3 confirms the object write |
| [Google Cloud Storage](./gcs.md) | `bucket`, `prefix` | none: you grant Send2Bucket's service account | The upload succeeds |
| [Azure Blob Storage](./azure-blob.md) | `account`, `container`, `prefix`, `auth`, `tenant_id`, `endpoint` | `sas_token`, or none with `auth` `entra`: you grant Send2Bucket's Entra ID app | Azure confirms the blob write |
| [S3-compatible storage](./s3-compatible.md) | `bucket`, `endpoint`, `region`, `prefix`, `addressing` | `access_key_id`, `secret_access_key` | The endpoint confirms the object write |
| [DuckLake](./ducklake.md) | `data_path`, `metadata_schema`, `namespace`, `table` | `catalog_dsn`, `access_key_id`, `secret_access_key`, `region`, `endpoint` | The DuckLake transaction commits |
| [Apache Iceberg](./iceberg-rest.md) | `catalog_uri`, `warehouse`, `namespace`, `table` | `token`, `access_key_id`, `secret_access_key`, `region`, `endpoint` | The catalog confirms the append snapshot |
| [Amazon S3 Tables](./s3-tables.md) | `table_bucket_arn`, `region`, `role_arn`, `namespace`, `table` | none: Send2Bucket assumes your role with an external ID | The append snapshot commits |
| [Supabase Analytics Buckets](./supabase-analytics.md) | `project_ref`, `warehouse`, `region`, `namespace`, `table` | `catalog_token`, `access_key_id`, `secret_access_key` | The catalog confirms the snapshot |

Pick the destination your query engine reads best. [Querying](../querying/index.md) lists which engine reads which destination.

## Access Send2Bucket needs

Credentials should allow only what delivery needs: writing objects or table data, and reading back what Send2Bucket wrote so it can verify a write after a lost response.

Verify checks the destination; the stream accepts data before that, and its first successful delivery also verifies the destination. For a bucket it writes a test object under your prefix and reads it back. For a table it creates the table in the namespace you name if it is missing, or checks that an existing table has the [expected columns](../delivery-format.md#table-columns); an incompatible table is left untouched and setup fails with `incompatible table: …`. A verified destination becomes `active`; see [Destination status](../delivery-semantics.md#destination-status).
