Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
88 lines (88 sloc) 3.06 KB
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"location": {
"type": "String",
"defaultValue": "[resourceGroup().location]"
},
"dataFactoryName": {
"type": "String"
},
"keyVaultName": {
"type": "string"
},
"storageAccountName": {
"type": "string"
},
"keyVaultWriterPrincipalId": {
"type": "string"
}
},
"resources": [
{
"type": "Microsoft.DataFactory/factories",
"name": "[parameters('dataFactoryName')]",
"apiVersion": "2018-06-01",
"location": "[parameters('location')]",
"identity": {
"type": "SystemAssigned"
}
},
{
"apiVersion": "2016-10-01",
"name": "[parameters('keyVaultName')]",
"location": "[parameters('location')]",
"type": "Microsoft.KeyVault/vaults",
"properties": {
"accessPolicies": [
{
"objectId": "[parameters('keyVaultWriterPrincipalId')]",
"tenantId": "[reference(concat('Microsoft.DataFactory/factories/', parameters('dataFactoryName')), '2018-06-01', 'Full').identity.tenantId]",
"permissions": {
"secrets": [
"Get",
"List",
"Set",
"Delete"
]
}
},
{
"objectId": "[reference(concat('Microsoft.DataFactory/factories/', parameters('dataFactoryName')), '2018-06-01', 'Full').identity.principalId]",
"tenantId": "[reference(concat('Microsoft.DataFactory/factories/', parameters('dataFactoryName')), '2018-06-01', 'Full').identity.tenantId]",
"permissions": {
"secrets": [
"Get",
"List"
]
},
"applicationId": null
}
],
"tenantId": "[reference(concat('Microsoft.DataFactory/factories/', parameters('dataFactoryName')), '2018-06-01', 'Full').identity.tenantId]",
"sku": {
"name": "standard",
"family": "A"
}
}
},
{
"name": "[parameters('storageAccountName')]",
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2018-07-01",
"location": "[parameters('location')]",
"properties": {
"accessTier": "Hot",
"supportsHttpsTrafficOnly": true,
"isHnsEnabled": true
},
"sku": {
"name": "Standard_LRS"
},
"kind": "StorageV2"
}
],
"outputs": {
}
}
You can’t perform that action at this time.