A lot of home brewers have built pretty slick brewing systems using beer kegs. There is one main issue that you should be concerned about – chances are pretty high that the keg you intend to use for your system is stolen property.
For example, if you have a party and put down a deposit on the keg, that doesn't pay for the keg. It's just a deposit so you'll bring it back. The fact is that new kegs typically cost breweries $100 or more, and the deposits don't nearly cover the cost. In fact, many breweries are stuck with deposits of $12 a keg because that's what it always has been and there isn't an easy way for them to increase it. So, if you decide to keep the keg after your party and convert it to a brew kettle, you have not only taken that keg without paying for it, but you also just cost that brewery $100. They have to sell a lot of kegs of beer to make back that $100 – and they shouldn't have to do that at all.
If you go to a scrap yard and buy a keg there, chances are also high that the keg was stolen by someone and turned in for a few dollars of scrap value. Again, the brewery just lost close to $100, maybe more.
The only legitimate way to buy a keg is directly from a keg supplier or from the brewery itself. Kegs can fail beyond repair, although it isn't that common, and you might find your local brewery is happy to sell you their cast offs.
Support your brewery – don't steal their kegs!

