gfrankliu
python s3scan.py gives botocore.exceptions.ClientError: An error occurred (InvalidRequest) when calling the GetBucketAcl operation: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. Any ideas?
#5 · closed · 5 comments
python s3scan.py gives botocore.exceptions.ClientError: An error occurred (InvalidRequest) when calling the GetBucketAcl operation: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. Any ideas?
@gfrankliu the most recent code has the fix for this.
I just pulled the new code and tried again (python s3scan.py), but got below error: botocore.exceptions.ProfileNotFound: The config profile (default) could not be found BTW, I am not using ~/.aws but only env vars: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. It used to work before today's change.
@gfrankliu I made the default value for the profile 'None' - can you give it a try? If it works then close the issue, otherwise I'll get an environment setup that doesn't use AWS profiles to test.
Yes, that works. Thanks!
@gfrankliu cool! thanks for reporting the bug!