This may not be exactly what you're looking for, but I have this
bag that rides on my top tube. It holds my cell phone and keys in the back pocket and I put my badge in the front pocket. I don't have to show my badge to get into the building, but I have to press is to a reader to open the doors for the garage. I like this because I can unclip it from the tube while I'm riding up, flash it across the reader as I ride past, then ride right into the garage as the door rolls up.
Is your badge on a lanyard? Maybe you could just not zip the front pocket and pull the badge out by the lanyard as you ride up.