pka
pka

Reputation: 563

S3 bucket created from AWS management console not accessible with boto

I have a couple of buckets for an Amazon AWS account. Using boto I can see all the buckets with:

conn = boto.connect_s3()
buckets = conn.get_all_buckets()
print buckets

However when trying to get a specific bucket:

# bucket-1 is present in the conn.get_all_buckets() response
bucket = conn.get_bucket('bucket-1') 

I can only have access those created e.g. by boto itself. When trying to get a bucket created from within the management console I get the following error:

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated                
does not match the signature you provided. Check your key and signing method.</Message>

When checking the permissions in the management console the buckets all have the same permissions.

Edit: Boto version used was 1.9b

Upvotes: 1

Views: 905

Answers (2)

pka
pka

Reputation: 563

Updating to Boto version 2.9.4 solved the issue.

Upvotes: 2

Related Questions