Added a function that returns a masked map of config settings.