'azurerm_data_factory_linked_service_data_lake_storage_gen2 => Storage key via KeyVault

How do I add below using Terraform

  1. Authentication type = "Account Type"

  2. Use Keyvault for storage connection key

     resource "azurerm_data_factory_linked_service_data_lake_storage_gen2" 
     "example" {
       name                  = "example"
       data_factory_id       = azurerm_data_factory.example.id
    -    service_principal_id  = data.azurerm_client_config.current.client_id
         service_principal_key = "exampleKey"
          tenant                = "11111111-1111-1111-1111-111111111111"
          url                   = "https://datalakestoragegen2"
     }
    

enter image description here



Solution 1:[1]

As per microsoft document Azure Data Lake Storage Gen2 connector doesn't support account key authentication, You can use other authentication types which i have mentioned below

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 RahulKumarShaw-MT