现在我试图通过aws cli备份我的数据库,但它会抛出错误
root@f22e9806cb38:~# aws s3 sync $BACKUP_PATH $S3_URL
A client error (InvalidRequest) occurred when calling the ListObjects operation: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
root@f22e9806cb38:~# aws --version
aws-cli/1.4.2 Python/3.4.2 Linux/4.13.0-31-generic
我使用aws configure
命令和粘贴的访问权限和私钥配置了aws cli。如何解决错误?