The Scottish Royal Household includes the Hereditary Keepers of various palaces and castles, as follows-
The Keeper of Dumbarton Castle and the Governor of Edinburgh Castle are non-hereditary offices.