get AWS credentials and create S3 client