master key

[master key] {n. phr.} A key that opens a set of different locks.

The building janitor has a master key to all of the apartments inthis building.