I hope to upload text file in aws s3.
import boto3
s3=boto3.client('s3')
s3.upload_file('s3_transfer_file.txt','first-storage-for-practice','s3_script.txt')
Getting this error when running the code above:
An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.
What should I do to fix this?