Apparently the UCMJ does not apply to the SecDef?
They'll be taking this conflicting page down soon...
https://www.dodreads.com/the-military-officer-oath-of-office/