In this study we tested the hypothesis that transient downregulation of KLF2 in vaccine-activated CD8+ T cells will promote their differentiation into Trm and enhance tumor control, thereby providing direct evidence for the role of Trm in tumor immunity and introducing a broadly useful approach to promote vaccine induced Trm, not limited to cancer. This evidence concerns the gene CD8A and cancer.