a keg is nothing more than a very large bottle. a bottle stored properly (out of sunlight) and a keg stored properly (purged of oxygen) should last indefinitely.
of course the characteristics of the beer will change over time, and thats the exciting part!