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🔗

 1CLIENT_ID=root \
 2CLIENT_SECRET=s3cr3t \
 3DEFAULT_BASE_LOCATION=s3://example-bucket/my_data \
 4ROLE_ARN=arn:aws:iam::111122223333:role/ExampleCorpRole \
 5./polaris \
 6  --client-id ${CLIENT_ID} \
 7  --client-secret ${CLIENT_SECRET} \
 8  catalogs \
 9  create \
10  --storage-type s3 \
11  --default-base-location ${DEFAULT_BASE_LOCATION} \
12  --role-arn ${ROLE_ARN} \
13  my_catalog