Connecting and Authentication Patterns
Makes Lakebase connections production-grade. Following the lecture-demo pattern, learners compare OAuth tokens and native passwords, handle the 60-minute token lifetime with refresh, and build a token-refreshing connection pool in both SQLAlchemy and raw psycopg — sized against the endpoint's connection ceiling and observed through pg_stat_activity. The course concludes with the Lakebase Data API, showing how the authenticator role brokers identity via SET ROLE to enforce the same privilege model over HTTP.
Note: Databricks Academy is transitioning to a notebook-based format for classroom sessions within the Databricks environment, discontinuing the use of slide decks for lectures. You can access the lecture notebooks in the Vocareum lab environment.
The content was developed for participants with these skills/knowledge/abilities:
• Comfort reading and writing Python, including classes
• Ability to connect to Lakebase with psycopg (from LB-103)
Suggested prior course: LB-103 First Steps — establishes the basic psycopg connection this course hardens for production.
Self-Paced
Custom-fit learning paths for data, analytics, and AI roles and career paths through on-demand videos
Registration options
Databricks has a delivery method for wherever you are on your learning journey
Self-Paced
Custom-fit learning paths for data, analytics, and AI roles and career paths through on-demand videos
Register nowInstructor-Led
Public and private courses taught by expert instructors across half-day to two-day courses
Register nowBlended Learning
Self-paced and weekly instructor-led sessions for every style of learner to optimize course completion and knowledge retention. Go to Subscriptions Catalog tab to purchase
Purchase nowSkills@Scale
Comprehensive training offering for large scale customers that includes learning elements for every style of learning. Inquire with your account executive for details

