use getenv to get accesskey and secretkey