Is there any way to do key vault integration with databricks using Terraform/any programmatic. I am able to do only manually.
2 Answers
Azure Databricks now supports Azure Key Vault backed secret scope in November 13, 2019. With this, Azure Databricks now supports two types of secret scopes—Azure Key Vault-backed and Databricks-backed.
Azure Key Vault integration with Azure Databricks is in preview mode. Now you can manually to use Azure Key Vault secrets in Azure Databricks, refer to this article.
In Databricks Labs Terraform provider there's databricks_secret_scope resource, which works pretty well with Databricks-backed secret scopes. Please check if this one is everything you need. Otherwise you can try creating Azure Key Vault-backed scope and importing it as terraform import databricks_secret_scope.object <scopeName>
. Currently it's not possible to create AKV-backed scopes programmatically, but that may (or may not) change in the future.