get api key from env