From 49d51db14c658105b61bd654c24345c4fd81e896 Mon Sep 17 00:00:00 2001 From: Kamran Khan Date: Mon, 19 Sep 2016 14:01:55 -0700 Subject: [PATCH] Add template skeleton --- 101-vm-full-disk-encrypted-rhel/README.md | 8 ++++ .../azuredeploy.json | 48 +++++++++++++++++++ .../azuredeploy.parameters.json | 24 ++++++++++ 101-vm-full-disk-encrypted-rhel/metadata.json | 6 +++ 4 files changed, 86 insertions(+) create mode 100644 101-vm-full-disk-encrypted-rhel/README.md create mode 100644 101-vm-full-disk-encrypted-rhel/azuredeploy.json create mode 100644 101-vm-full-disk-encrypted-rhel/azuredeploy.parameters.json create mode 100644 101-vm-full-disk-encrypted-rhel/metadata.json diff --git a/101-vm-full-disk-encrypted-rhel/README.md b/101-vm-full-disk-encrypted-rhel/README.md new file mode 100644 index 000000000000..6dd7dee8af1c --- /dev/null +++ b/101-vm-full-disk-encrypted-rhel/README.md @@ -0,0 +1,8 @@ +# Deployment of Red Hat Enterprise Linux VM (RHEL 7.2 or RHEL 6.7) + + + + + + + diff --git a/101-vm-full-disk-encrypted-rhel/azuredeploy.json b/101-vm-full-disk-encrypted-rhel/azuredeploy.json new file mode 100644 index 000000000000..c35f3b65b9dc --- /dev/null +++ b/101-vm-full-disk-encrypted-rhel/azuredeploy.json @@ -0,0 +1,48 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "adminUsername": { + "type": "string", + "metadata": { + "description": "User name for the Virtual Machine." + } + }, + "adminPassword": { + "type": "securestring", + "metadata": { + "description": "Password for the Virtual Machine." + } + }, + "aadClientID": { + "metadata": { + "description": "Client ID of AAD app which has permissions to KeyVault" + }, + "type": "string" + }, + "aadClientSecret": { + "metadata": { + "description": "Client Secret of AAD app which has permissions to KeyVault" + }, + "type": "securestring" + }, + "keyVaultName": { + "type": "string", + "metadata": { + "description": "Name of the KeyVault to place the volume encryption key" + } + }, + "keyVaultResourceGroup": { + "type": "string", + "metadata": { + "description": "Resource group of the KeyVault" + } + } + }, + "variables": { + "storageAccountName": "[concat(uniquestring(resourceGroup().id), 'rhelvm')]", + "apiVersion": "2015-06-15" + }, + "resources": [ + ] +} \ No newline at end of file diff --git a/101-vm-full-disk-encrypted-rhel/azuredeploy.parameters.json b/101-vm-full-disk-encrypted-rhel/azuredeploy.parameters.json new file mode 100644 index 000000000000..ce4ab87eb40b --- /dev/null +++ b/101-vm-full-disk-encrypted-rhel/azuredeploy.parameters.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "adminUsername": { + "value": "GEN-USER" + }, + "adminPassword": { + "value": "GEN-PASSWORD" + }, + "aadClientID": { + "value": "clientId" + }, + "aadClientSecret": { + "value": "YourClientSecret" + }, + "keyVaultResourceGroup": { + "value": "kvResourceGroup" + }, + "keyVaultName": { + "value": "kvName" + } + } +} \ No newline at end of file diff --git a/101-vm-full-disk-encrypted-rhel/metadata.json b/101-vm-full-disk-encrypted-rhel/metadata.json new file mode 100644 index 000000000000..4914b6c83d4c --- /dev/null +++ b/101-vm-full-disk-encrypted-rhel/metadata.json @@ -0,0 +1,6 @@ +{ + "itemDisplayName": "Red Hat Enterprise Linux 7.2 VM (Fully Encrypted)", + "description": "This template will deploy a Red Hat Enterprise Linux 7.2 VM and encrypt both OS and data drives.", + "githubUsername": "krkhan", + "dateUpdated": "2016-09-19" +}