I have been working on trying to login to Boto via python in the last few hours and it seems that it cannot solve the problem. Python continues to return an error that:
No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV1Handler'] Check your Credentials
According to the registrar:
boto.set_stream_logger('boto')
The problem is this: "[DEBUG]: getting credentials from the metadata server." This should mean that my credentials file was not found, and while I'm not sure where to put my "mycreds.boto" file with my access and security key, I copied it to several places in the boto directory in my site packages, I searched extensively and not sure where to place this file. Considering the fact that:
s3 = boto.connect_s3()
I am not sure how to indicate the path to my "mycreds.boto" file if it is not in the "right" place. Since the file transfer process did not work, I created the environment variable "BOTO_CONFIG" with a value equal to the path to the file "boto.config", which stores the same credentials as my file "mycreds.boto". This, unfortunately, did not solve any problems. Finally, I tried to log in using this code:
s3 = boto.connect_s3(<aws access>, <aws secret key>)
This returned the following from the registrar: "[DEBUG]: using the access key provided by the client." and "[DEBUG]: use of the secret key provided by the client." It did not return any other errors, but when I tried to access my buckets online, I could not connect. I tried to restart my command windows and computer several times, and I'm not sure what else to try. I basically run out of ideas, so any help would be greatly appreciated. I am running Windows 7 and Python 2.7.7.
python amazon-web-services boto
Brad
source share