Publishing a Service Fabric project in Azure
It is important that we need to create a secure cluster in Azure. For that, we need to set up a Key Vault to manage keys and certificates. For more information on the Azure Key Vault and certificates, follow this link, https://docs.microsoft.com/en-us/azure/key-vault/key-vault-get-started
Create Key Vault
Create a Key Vault in the new resource group. The Key Vault must be enabled for deployment to allow the Service Fabric resource provider to get certificates from it and install on cluster nodes. The following is the PowerShell script:
New-AzureRmKeyVault -VaultName 'myvault' -ResourceGroupName
'mycluster-keyvault' -Location 'East US' -EnabledForDeployment
Adding certificates to the Key Vault
This certificate is required to secure a cluster and prevent unauthorized access to it. To make this process easier, a PowerShell module is available on GitHub (https://github.com/kishoreismac/Service-Fabric/tree/master/Scripts/ServiceFabricRPHelpers).
The...