Add secret provider functionality and enhance configuration data resolution
This commit is contained in:
@@ -6,8 +6,15 @@ function Get-ConfigurationDataMapValue {
|
||||
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]
|
||||
$Key
|
||||
$Key,
|
||||
|
||||
[AllowNull()]
|
||||
$DefaultValue = $null
|
||||
)
|
||||
|
||||
if(-not (Test-ConfigurationDataMapContainsKey -Map $Map -Key $Key)){
|
||||
return $DefaultValue
|
||||
}
|
||||
|
||||
return $Map[$Key]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user