also add key config to wms layer record