you've got it in reverse. nasa is the civilian arm of the military broadly where declassified tech is disseminated and utilized once its already in place and knowledge of capabilities no longer matters. basically all tech attributed to gemini and apollo in reality was developed a decade earlier for the polaris platform to enable first strike nuke capabilities against moscow from a concealed sub.
United States