I seen a guy who used glass jars with the air lock lid, and he had desiccant packs in there. That would work.
But I have found that just drying it thoroughly and leaving open to dry fir a few hours to do the trick. For long term I,m the same as Roger, my safe has a dehumidifier in it and my razors stay in there for long periods of time with no issues, and I rarely oil them. Tc