That's the neat part: we don't! A majority of our weapons and tech come from the US and their producers will gladly give the American government all of our data and/or remotely disable our systems if asked.
There's no political will to divest from American tech and manufacturing despite significant national interest. Even the dumbest Albertan secessionist would agree that blindly trusting a foreign corporation is not the best idea, but here we are, with F-35s we don't actually own and using a custom instance of Microsoft 365 called Defence 365. 🤦♀️