Add config to enable secret key in production environment