Here is a high-level review of the manufacturing contracts between US DOD and Moderna.

Moderna’s injection, mRNA-1273 is co-owned with the US Government, as the company has been funded by the defense research grants for years and also received intellectual property transfers from the US Government, in addition to preclinical and clinical research work conducted for Moderna by the NIH Vaccine Research Center. The NIH and Moderna each have a separate Investigational New Drug number for this product.

Moderna entered 2 types of contracts with the US Government for Spikevax injection:

https://brownstone.org/articles/proof-vaccines-were-military-backed-countermeasure/