Configuring policies using ConfigKey