Template for creating a webapp with custom domain and ssl certificate from KeyVault
Ten szablon usługi Azure Resource Manager (ARM) został utworzony przez członka społeczności, a nie przez firmę Microsoft. Każdy szablon ARM jest licencjonowany przez swojego właściciela, a nie firmę Microsoft. Firma Microsoft nie odpowiada za szablony ARM dostarczane i licencjonowane przez członków społeczności i nie sprawdza ich pod kątem bezpieczeństwa, zgodności ani wydajności. Szablony ARM społeczności nie są wspierane w ramach żadnego programu lub usługi pomocy technicznej firmy Microsoft i są udostępniane W STANIE, W JAKIM SIĘ ZNAJDUJĄ bez żadnego rodzaju gwarancji.
Parametry
Nazwa parametru | Opis |
---|---|
_artifactsLocation | The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated. |
_artifactsLocationSasToken | The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated. |
certificateName | User friendly certificate resource name |
existingKeyVaultId | Existing Key Vault resource Id with an access policy to allow Microsoft.Web RP to read Key Vault secrets (Checkout README.md for more information) |
existingKeyVaultSecretName | Key Vault Secret that contains a PFX certificate |
webAppName | App name to use for creating SSL binding. This App should have the hostname assigned as a custom domain |
servicePlanName | Service Plan |
hostname | Custom hostname for creating SSL binding. This hostname should already be assigned to the Web App |
Korzystanie z szablonu
PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/webapp-keyvault-ssl/azuredeploy.jsonInstalowanie i konfigurowanie programu PowerShell systemu Azure
Wiersz polecenia
azure config mode arm azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/webapp-keyvault-ssl/azuredeploy.jsonInstalowanie i konfigurowanie międzyplatformowego interfejsu wiersza polecenia platformy Azure