moved key and secret outside