Hi,
According to random information I’ve found across the search engines the newest Virtualmin GPL should be able to use S3 buckets for backups and it relies on ‘awscli’ to do so reliably.
Now, I’ve installed and configured awscli package and I’m able to ‘aws s3 ls’ from the command-line but virtualmin list-s3-files won’t work:
virtualmin list-s3-files --access-key xxxxxxxxxxxxxxxxx–secret-key xxxxxxxxxxxxxxxx --bucket xxxxxxxxxxxxxxxx
A client error (InvalidRequest) occurred when calling the ListObjects operation: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
ERROR:
Here are my details:
Debian GNU/Linux 8
awscli 1.4.2-1 all Universal Command Line Environment for AWS
python3-botocore 0.62.0-1 all Low-level, data-driven core of boto 3 (Python 3)
Default signature to use s4 in awscli config by using:
aws configure set default.s3.signature_version s3v4
Is there any way to force virtualmin to use a specific signature version? Am I missing something here?
Thanks,
Antonio Huete