Skip to content

Commit

Permalink
Add template skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamran Khan committed Sep 19, 2016
1 parent c6f7472 commit 49d51db
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 101-vm-full-disk-encrypted-rhel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Deployment of Red Hat Enterprise Linux VM (RHEL 7.2 or RHEL 6.7)

<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fkrkhan%2Fazure-quickstart-templates%2Ffde-rhel%2F101-vm-full-disk-encrypted-rhel%2Fazuredeploy.json" target="_blank">
<img src="http://azuredeploy.net/deploybutton.png"/>
</a>
<a href="http://armviz.io/#/?load=https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fkrkhan%2Fazure-quickstart-templates%2Ffde-rhel%2F101-vm-full-disk-encrypted-rhel%2Fazuredeploy.json" target="_blank">
<img src="http://armviz.io/visualizebutton.png"/>
</a>
48 changes: 48 additions & 0 deletions 101-vm-full-disk-encrypted-rhel/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -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": [
]
}
24 changes: 24 additions & 0 deletions 101-vm-full-disk-encrypted-rhel/azuredeploy.parameters.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
6 changes: 6 additions & 0 deletions 101-vm-full-disk-encrypted-rhel/metadata.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 49d51db

Please sign in to comment.