Microsoft OneLake
The OneLake catalog provider in Sail allows you to connect to Microsoft Fabric OneLake.
OneLake catalog can be configured using the following options:
type(required): The stringonelake.name(required): The name of the catalog.url(required): The OneLake item location.bearer_token(optional): The bearer token for authentication.
The url should be in the format workspace/item-name.item-type.
If bearer_token is not provided, Sail will attempt to find credentials from the following sources in order:
- The
AZURE_STORAGE_TOKENenvironment variable. - The
AZURE_ACCESS_TOKENenvironment variable. - Azure CLI (
az account get-access-token).
Examples
bash
export SAIL_CATALOG__LIST='[{type="onelake", name="fabric", url="workspace/lakehouse.Lakehouse"}]'
# Bearer token authentication
export SAIL_CATALOG__LIST='[{type="onelake", name="fabric", url="workspace/lakehouse.Lakehouse", bearer_token="..."}]'