Add secret provider functionality and enhance configuration data resolution
This commit is contained in:
14
Private/Test-ConfigurationDataSecretReference.ps1
Normal file
14
Private/Test-ConfigurationDataSecretReference.ps1
Normal file
@@ -0,0 +1,14 @@
|
||||
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")
|
||||
}
|
||||
Reference in New Issue
Block a user