Functions/Internal/Get-EnvironmentVariablesBySecretScope.ps1

Function Get-EnvironmentVariablesBySecretScope {
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)][string]$secretScope
    )
    $databricksSecrets = Get-ChildItem Env:$secretScope*
    return $databricksSecrets
}