Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 784 Bytes

keyvault-backed-secrets.md

File metadata and controls

19 lines (14 loc) · 784 Bytes

Setting Up an Azure Key Vault-Backed Secret Scope

To set up your databricks cluster to reference Key Vault-backed secrets, follow the steps below:

  1. Set up an Azure Key Vault-backed secret scope.
  2. Reference your Key Vault-backed keys in your cluster's environment variables:
LOG_ANALYTICS_WORKSPACE_ID={{secrets/<secret-scope-name>/<keyvault-key-name>}}
LOG_ANALYTICS_WORKSPACE_KEY={{secrets/<secret-scope-name>/<keyvault-key-name>}}
  1. Edit the spark-monitoring.sh initialization script to reference these values:
LOG_ANALYTICS_WORKSPACE_ID=$LOG_ANALYTICS_WORKSPACE_ID
LOG_ANALYTICS_WORKSPACE_KEY=$LOG_ANALYTICS_WORKSPACE_KEY