adding local_config which overrides secret fields in main config