functions/common/Get-RecommendedBcConfiguration.ps1

function Get-RecommendedBcConfiguration {
    param (
        [string]$PropertyName,
        [System.Version]$Version
    )

    $recommendedValues = @{
        AzureKeyVaultAppSecretsPublisherValidationEnabled = $true
        AzureKeyVaultClientCertificateThumbprint = if ($Version -ge [System.Version]"17.0.0.0") { 'NotEmpty' } else { $null }
        ClientServicesSSLEnabled = $true
        DeveloperServicesSSLEnabled = $true
    }

    return $recommendedValues[$PropertyName]
}