mirror of
https://github.com/NetSPI/MicroBurst
synced 2026-06-08 12:01:29 +00:00
120 lines
4.0 KiB
JSON
120 lines
4.0 KiB
JSON
{
|
|
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
|
"contentVersion": "1.0.0.0",
|
|
"parameters": {
|
|
"myLocation": {
|
|
"type": "string",
|
|
"defaultValue": "Central US",
|
|
"metadata": {
|
|
"description": "Location to deploy resources"
|
|
}
|
|
},
|
|
"objectId": {
|
|
"type":"string",
|
|
"metadata":{
|
|
"description": "Object ID of your user"
|
|
}
|
|
}
|
|
},
|
|
|
|
"functions": [],
|
|
"variables": {},
|
|
"resources": [
|
|
{
|
|
"type": "Microsoft.KeyVault/vaults",
|
|
"apiVersion": "2021-04-01-preview",
|
|
"name": "dumpvault",
|
|
"location": "eastus",
|
|
"properties": {
|
|
"sku": {
|
|
"family": "A",
|
|
"name": "Standard"
|
|
},
|
|
"tenantId": "[subscription().tenantId]",
|
|
"accessPolicies": [
|
|
{
|
|
"tenantId": "[subscription().tenantId]",
|
|
"objectId":"[parameters('objectId')]",
|
|
"permissions": {
|
|
"keys": [
|
|
"All"
|
|
],
|
|
"secrets": [
|
|
"All"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"enabledForDeployment": false,
|
|
"enabledForDiskEncryption": false,
|
|
"enabledForTemplateDeployment": false,
|
|
"enableSoftDelete": true,
|
|
"softDeleteRetentionInDays": 90,
|
|
"enableRbacAuthorization": false,
|
|
"vaultUri": "[concat('https://', 'dumpvault', '.vault.azure.net/')]",
|
|
"provisioningState": "Succeeded"
|
|
}
|
|
},
|
|
{
|
|
"type": "Microsoft.KeyVault/vaults/keys",
|
|
"apiVersion": "2021-04-01-preview",
|
|
"name": "[concat('dumpvault', '/test-key')]",
|
|
"location": "eastus",
|
|
"dependsOn": [
|
|
"[resourceId('Microsoft.KeyVault/vaults', 'dumpvault')]"
|
|
],
|
|
"properties": {
|
|
"attributes": {
|
|
"enabled": true
|
|
},
|
|
"value":"secretKey",
|
|
"kty": "RSA"
|
|
}
|
|
},
|
|
{
|
|
"type": "Microsoft.KeyVault/vaults/secrets",
|
|
"apiVersion": "2021-04-01-preview",
|
|
"name": "[concat('dumpvault', '/test-secret')]",
|
|
"location": "eastus",
|
|
"dependsOn": [
|
|
"[resourceId('Microsoft.KeyVault/vaults', 'dumpvault')]"
|
|
],
|
|
"properties": {
|
|
"attributes": {
|
|
"enabled": true
|
|
},
|
|
"value":"test-secret-value"
|
|
}
|
|
},
|
|
{
|
|
"type": "Microsoft.Logic/workflows",
|
|
"apiVersion": "2017-07-01",
|
|
"name": "hijackme",
|
|
"location": "Central US",
|
|
"properties": {
|
|
"state": "Enabled",
|
|
"definition": {
|
|
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
|
|
"contentVersion": "1.0.0.0",
|
|
"parameters": {
|
|
"$connections": {
|
|
"defaultValue": {},
|
|
"type": "Object"
|
|
}
|
|
},
|
|
"triggers": {
|
|
"manual": {
|
|
"type": "Request",
|
|
"kind": "Http",
|
|
"inputs": {}
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
"parameters": {}
|
|
}
|
|
}
|
|
|
|
],
|
|
"outputs": {}
|
|
} |