remove cache and read secret key from env