If you think guarding weapons, crypto and ammunition are the only things that require security then you are sadly mistaken.
Last time I was on a military base they did not even have a commissioner at the front gate. I did have to pass one to go into the secure area and use a swipe card to enter my lines.
Finning building (one example) I went to had a security team, swipe cards, cameras, voice monitoring and secure phone lockers. Plus had a building lock down protocol.
Lots of corporate security actually have as good if not better systems then the military for overall security of their property. That includes the use of drug and explosive dogs, camera monitoring facial recognition x ray scanners, pass protection, actual visible security active background checks and the list goes on.
The average Military base has minimal security at best. Maybe roving patrols, Use a system of alarms , fired detection and maybe cameras.