Created
April 7, 2018 20:13
-
-
Save PlagueHO/59c53066c53f5272488a95f9c27d3f23 to your computer and use it in GitHub Desktop.
An Azure Resource Manager template to deploy API Management with TLS 1.0, TLS 1.1 and 3DES disabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"publisherEmail": { | |
"type": "string", | |
"minLength": 1, | |
"metadata": { | |
"description": "The email address of the owner of the service" | |
} | |
}, | |
"publisherName": { | |
"type": "string", | |
"minLength": 1, | |
"metadata": { | |
"description": "The name of the owner of the service" | |
} | |
}, | |
"sku": { | |
"type": "string", | |
"allowedValues": [ | |
"Developer", | |
"Standard", | |
"Premium" | |
], | |
"defaultValue": "Developer", | |
"metadata": { | |
"description": "The pricing tier of this API Management service" | |
} | |
}, | |
"skuCount": { | |
"type": "string", | |
"allowedValues": [ | |
"1", | |
"2" | |
], | |
"defaultValue": "1", | |
"metadata": { | |
"description": "The instance size of this API Management service." | |
} | |
} | |
}, | |
"variables": { | |
"apiManagementServiceName": "[concat('apiservice', uniqueString(resourceGroup().id))]" | |
}, | |
"resources": [ | |
{ | |
"apiVersion": "2017-03-01", | |
"name": "[variables('apiManagementServiceName')]", | |
"type": "Microsoft.ApiManagement/service", | |
"location": "West US", | |
"tags": {}, | |
"sku": { | |
"name": "[parameters('sku')]", | |
"capacity": "[parameters('skuCount')]" | |
}, | |
"properties": { | |
"publisherEmail": "[parameters('publisherEmail')]", | |
"publisherName": "[parameters('publisherName')]", | |
"customProperties": { | |
"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168": "false", | |
"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11": "false", | |
"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "false" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment