Documentation
¶
Overview ¶
Example: Token Provider Authentication
This example demonstrates different ways to provide authentication tokens: 1. Static token - hardcoded/env token 2. External token - dynamic token from a function 3. Custom provider - full TokenProvider implementation
Environment variables:
- DATABRICKS_HOST: Databricks workspace hostname
- DATABRICKS_HTTPPATH: SQL warehouse HTTP path
- DATABRICKS_ACCESS_TOKEN: Access token for authentication
- TOKEN_EXAMPLE: Which example to run (static, external, custom)
Click to show internal directories.
Click to hide internal directories.