Now Im trying to backup my database via aws cli but it throws following error
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
I've configured aws cli with aws configure
command and pasted access and private keys. How to fix the error?