Skip to content

Updated

Iceberg Catalog

Analytics buckets require authentication with two distinct services:

Architecture overview

The Iceberg REST Catalog manages your tables' metadata, and the S3-compatible storage endpoint stores the data. For what each service does, see Analytics buckets.

Authentication setup

To connect to an analytics bucket, you need:

1. S3 credentials

Create S3 credentials through Project Settings > Storage. See the S3 Authentication Guide for detailed instructions.

You'll obtain:

  • Access Key ID
  • Secret Access Key
  • Region (e.g., us-east-1)

2. Supabase service key

Retrieve your Service Key from Project Settings > API. This key authenticates requests to the Iceberg REST Catalog.

3. Project reference

Your Supabase project reference is the subdomain in your project URL (e.g., your-project-ref in https://your-project-ref.supabase.co).

Testing your connection

You can verify your setup by making a direct request to the Iceberg REST Catalog. Provide your Service Key as a Bearer token:

curl \
--request GET -sL \
--url 'https://<your-project-ref>.supabase.co/storage/v1/iceberg/v1/config?warehouse=<bucket-name>' \
--header 'Authorization: Bearer <your-service-key>'

A successful response returns the catalog configuration including warehouse location and settings.

Next steps