function Test-ConfigurationDataSecretReference { [CmdletBinding()] Param( [AllowNull()] $Value ) if(-not (Test-ConfigurationDataMap -Value $Value)){ return $false } return (Test-ConfigurationDataMapContainsKey -Map $Value -Key "Provider") -and (Test-ConfigurationDataMapContainsKey -Map $Value -Key "Name") }