dab: generate permissions and run_as from stack.toml #176

Closed
opened 2026-03-24 05:50:04 +00:00 by kert · 0 comments
Owner

Goal

Emit permissions and run_as blocks from stack.toml, enforcing least-privilege in production.

Scope

  • Add [databricks.permissions] and [databricks.run_as] to stack.toml
  • Production targets get run_as.service_principal_name from config
  • Dev targets use current user

Acceptance

  • Production target has run_as set to service principal
  • databricks bundle validate passes for all targets
  • Permissions follow least-privilege
## Goal Emit permissions and run_as blocks from stack.toml, enforcing least-privilege in production. ## Scope - Add [databricks.permissions] and [databricks.run_as] to stack.toml - Production targets get run_as.service_principal_name from config - Dev targets use current user ## Acceptance - [ ] Production target has run_as set to service principal - [ ] databricks bundle validate passes for all targets - [ ] Permissions follow least-privilege
kert added this to the P22: DAB Generator — pluggable databricks.yml from pipeline registry milestone 2026-03-24 05:50:04 +00:00
kert added the authdatabricks labels 2026-03-24 05:50:04 +00:00
kert closed this issue 2026-03-24 05:59:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#176