WD40 is not water resistant and metal coated with it will rust over time.
For storage one can use Mineral Oil, Ballistol, Tuff Glide, anything water resistant.