Better practice for storing keys