Skip to main content
Copy this SQL script and run it as a catalog owner or metastore admin.
Replace the placeholder values before running:
  • your_catalog → Your Unity Catalog name
  • anomalyarmor → Your service principal or user name

Prerequisites

  • Databricks workspace with Unity Catalog enabled
  • SQL Warehouse (serverless or classic)
  • Service principal or user account for AnomalyArmor

Full Catalog Access

Recommended for simplicity:

Per-Schema Permissions

For granular access to specific schemas only:

Service Principal Setup

Service principals are more secure than personal access tokens:
  • Organization-owned, not tied to individual users
  • Persist regardless of employee changes
  • Can be managed centrally
  1. Create service principal: Admin Console → Service Principals → Add Service Principal
  2. Generate OAuth secret: Select the service principal → Secrets → Generate Secret
  3. Copy the Client ID and Client Secret for AnomalyArmor

Verification

View Current Permissions

Cleanup

Back to Databricks Guide

Complete setup instructions