Creating a Catalog

Azure

师成师成· 更新于 2026-09-29· 阅读 2 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

Creating a catalog on Azure

For the polaris catalogs create command there are few azure only options

--storage-type azure
--tenant-id  (Required for Azure) A tenant ID to use when connecting to Azure Storage
--multi-tenant-app-name  (Only for Azure) The app name to use when connecting to Azure Storage
--consent-url  (Only for Azure) A consent URL granting permissions for the Azure Storage location

Example

CLIENT_ID=root \
CLIENT_SECRET=s3cr3t \
DEFAULT_BASE_LOCATION=abfss://tenant123@blob.core.windows.net \
TENANT_ID=tenant123.onmicrosoft.com \
MULTI_TENANT_APP_NAME=myapp \
CONSENT_URL=https://myapp.com/consent
polaris \
  --client-id ${CLIENT_ID} \
  --client-secret ${CLIENT_SECRET} \
  catalogs \
  create \
  --storage-type azure \
  --tenant-id ${TENANT_ID} \
  --multi-tenant-app-name ${MULTI_TENANT_APP_NAME} \
  --consent-url ${CONSENT_URL} \
  --default-base-location ${DEFAULT_BASE_LOCATION} \
  my_azure_catalog

评论

登录后参与评论

正在加载评论…