We know that coffee has several enemies. They are oxygen, sunlight, and humidity. As we’ve seen, the ideal way to store coffee beans and keep your coffee fresh is to protect them from the environment. The best coffee bean tin will keep out the air, sunlight, and humidity.