databricks-security-basics

Featured

Apply Databricks security best practices for secrets and access control. Use when securing API tokens, implementing least privilege access, or auditing Databricks security configuration. Trigger with phrases like "databricks security", "databricks secrets", "secure databricks", "databricks token security", "databricks scopes".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Databricks Security Basics ## Overview Implement Databricks security: secret scopes for credential storage, token rotation, least-privilege access via Unity Catalog grants, and security auditing via system tables. Secrets API uses `PUT /api/2.0/secrets/put` and values are automatically redacted in notebook output. ## Prerequisites - Databricks CLI configured - Workspace admin access (for secret scope creation) - Unity Catalog enabled ## Instructions ### Step 1: Create and Manage Secret Scopes ```bash # Create a Databricks-backed secret scope databricks secrets create-scope my-app-secrets # Create Azure Key Vault-backed scope (Azure only) databricks secrets create-scope azure-kv \ --scope-backend-type AZURE_KEYVAULT \ --resource-id "/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.KeyVault/vaults/<vault>" \ --dns-name "https://<vault>.vault.azure.net/" # List all scopes databricks secrets list-scopes ``` ### Step 2: Store and Access Secrets ```bash # Store a secret (prompts for value interactively) databricks secrets put-secret my-app-secrets db-password # Store from CLI argument databricks secrets put-secret my-app-secrets api-key --string-value "sk_live_abc123" # List secrets (values always hidden) databricks secrets list-secrets my-app-secrets ``` ```python # Access secrets in notebooks and jobs — values auto-redacted in output db_password = dbutils.secrets.get(scope="my-app-secrets", key="db-password") api_key = dbutils.secrets.get(scope="my-a...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

databricks-install-auth

Install and configure Databricks CLI and SDK authentication. Use when setting up a new Databricks integration, configuring tokens, or initializing Databricks in your project. Trigger with phrases like "install databricks", "setup databricks", "databricks auth", "configure databricks token", "databricks CLI".

2,266 Updated today
jeremylongshore
AI & Automation Featured

brightdata-security-basics

Apply Bright Data security best practices for secrets and access control. Use when securing API keys, implementing least privilege access, or auditing Bright Data security configuration. Trigger with phrases like "brightdata security", "brightdata secrets", "secure brightdata", "brightdata API key security".

2,266 Updated today
jeremylongshore
Data & Documents Listed

databricks-core

Databricks CLI operations: auth, profiles, data exploration, and bundles. Contains up-to-date guidelines for Databricks-related CLI tasks.

0 Updated 2 days ago
pgoell
AI & Automation Featured

databricks-enterprise-rbac

Configure Databricks enterprise SSO, Unity Catalog RBAC, and organization management. Use when implementing SSO integration, configuring role-based permissions, or setting up organization-level controls with Unity Catalog. Trigger with phrases like "databricks SSO", "databricks RBAC", "databricks enterprise", "unity catalog permissions", "databricks SCIM".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-security-basics

Apply Palantir Foundry security best practices for credentials, scopes, and access control. Use when securing API tokens, implementing least privilege access, or auditing Foundry security configuration. Trigger with phrases like "palantir security", "foundry secrets", "secure palantir", "palantir API key security", "foundry scopes".

2,266 Updated today
jeremylongshore