pass value of config key as parameter to validator callback