use token in s3 request