I get an error AWS::S3::Errors::InvalidRequest The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. when I try upload fi
AWS::S3::Errors::InvalidRequest The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
For Boto3 , use this code.
import boto3 from botocore.client import Config s3 = boto3.resource('s3', aws_access_key_id='xxxxxx', aws_secret_access_key='xxxxxx', region_name='us-south-1', config=Config(signature_version='s3v4') )