I did armed security on a military base for seven years. We worked the main gate instead of Security Forces (MPs) because it was cheaper overall. Cops visited the base for all sorts of reasons, some legit (cross training) and some personal (visiting a friend, shopping at the BX). In all cases, Security Forces needed to know who was armed other than them for obvious reasons, meaning the cop couldn't continue onto the base until cleared by the shift super.
When told they needed to produce ID and wait for SecFo to come talk to them, most cops got rather upset. I didn't understand the attitude; you're trying to access a military facility where you don't have jurisdiction, sorry you have to jump through a hoop but your badge isn't an all-access magic wand. A minority of the cops were cool with this, but most objected.
One time while on third shift, a state trooper showed up at 0200 and asked to "look around." I told him we already had people patrolling the base. The shift supervisor declined to admit him. You'd think we had just insulted his mother. Anyway, I considered myself fortunate that I always had backup. Trunk Monkey, I have been in your shoes doing unarmed security and hated it. If my post orders had required me to make contact with people in vehicles I wouldn't have lasted long in that role.