Menu

Is Your Databricks Job Still Using Your Personal Access Token?
📰

Is Your Databricks Job Still Using Your Personal Access Token?

DEV Community: cicd·Aniket Abhishek Soni·about 1 hour ago
#JncUIN8v
#devtocicd#devto#dev#databricks#security
Reading 0:00
15s threshold

Why this matters: Hardcoded personal access tokens are a primary vector for privilege escalation and data exfiltration in managed data environments. Moving to Service Principals decouples authentication from individual identities, ensuring that pipeline access persists beyond the lifecycle of any single user account.

Consider a hypothetical pipeline that syncs data from a third-party API into a Delta Lake table. The job is configured to run on a cluster using a Python script that requires an API key. For months, the job runs perfectly. Then, the engineer who originally set up the job leaves the organization. Three days later, the job fails with a generic 401 Unauthorized or 403 Forbidden error, despite the code remaining unchanged.

This is the "Orphaned Token" anti-pattern.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.