@Override
public AzureProvisionContextObject provisionInit(Stack stack, String userData) throws Exception {
AzureCredential credential = (AzureCredential) stack.getCredential();
AzureClient azureClient = createAzureClient(credential, AzureCertificateService.getUserJksFileName(credential, emailAsFolder(stack.getOwner())));
AzureProvisionContextObject azureProvisionContextObject =
new AzureProvisionContextObject(stack.getId(), credential.getCommonName(), azureClient, emailAsFolder(stack.getOwner()),
getOsImageName(credential), userData);
return azureProvisionContextObject;
}