IMPORTANT: Developer documentation for the current main branch. This content is unreleased and may change before the next Polaris release. For stable user documentation, see the latest release docs.

Creating a Catalog

The following Object Storage providers can be configured as storage backends for your Polaris catalog:

Catalogs may also be created from migrating existing Iceberg catalogs.

Create a catalog using polaris CLI🔗

Check full list of options for the polaris catalogs create command here

Example🔗

CLIENT_ID=root
CLIENT_SECRET=s3cr3t
DEFAULT_BASE_LOCATION=s3://example-bucket/my_data
ROLE_ARN=arn:aws:iam::111122223333:role/ExampleCorpRole

polaris \
  --client-id "${CLIENT_ID}" \
  --client-secret "${CLIENT_SECRET}" \
  catalogs \
  create \
  --storage-type s3 \
  --default-base-location "${DEFAULT_BASE_LOCATION}" \
  --role-arn "${ROLE_ARN}" \
  my_catalog