Credentials
The VFS accesses a Unity Catalog volume through the Databricks Files REST API. Both Python and TypeScript require an explicit workspace host and token. The token can be a personal access token, an OAuth access token, or a callback that supplies the current access token. No extra Python package is required. Obtain a workspace access token. For local testing, you can create a personal access token under Settings → Developer → Access tokens. Scoped tokens need thefiles API scope.
Set the workspace host
Use your workspace origin, such ashttps://dbc-xxxxxxxx-xxxx.cloud.databricks.com on AWS or
https://adb-xxxxxxxxxxxx.xx.azuredatabricks.net on Azure.
The host accepts HTTP or HTTPS and rejects a path, query, fragment, or userinfo.
A trailing slash is allowed.
Find a readable volume
Choose a volume in Catalog Explorer. Its/Volumes/<catalog>/<schema>/<volume>/... path supplies the three config
fields. The principal needs USE CATALOG, USE SCHEMA, and READ VOLUME; a
write mount also needs WRITE VOLUME. See volume
permissions.