Creating an Azure Key Vault to store secrets using ARM templates
In this recipe, you will learn how to create an Azure Key Vault instance and secrets using the Azure CLI and ARM templates. It is very useful to know how to deploy templates using the CLI, which helps you automate the task of deploying from your DevOps pipeline.
Getting ready
In this recipe, we will use a service principal to authenticate to Azure so that we can create an Azure Key Vault resource from the Azure CLI. Follow the steps mentioned in the following link to create a service principal:
https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#:~:text=Option%201:%20Upload%20a%20certificate.%201%20Select%20Run,key,%20and%20export%20to%20a%20.CER%20file
You can find the ARM template JSON files and the required PowerShell script at https://github.com/PacktPublishing/Azure-Databricks-Cookbook/tree/main/Chapter05/Code.
You can find the Parquet files that were...