Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publicly accessible buckets #22

Open
jbenet opened this issue Dec 12, 2013 · 1 comment
Open

Publicly accessible buckets #22

jbenet opened this issue Dec 12, 2013 · 1 comment

Comments

@jbenet
Copy link

jbenet commented Dec 12, 2013

Publicly accessible buckets aren't supported. Haven't tried, but probably also problematic for policy-based access control. (Note: the bucket used below won't stay entirely public forever. Under dev. Policy will change.)

curl works

> curl -X PUT datadex.archives.s3.amazonaws.com/datafile -T Datafile

> curl datadex.archives.s3.amazonaws.com/datafile
dataset: foo/[email protected]

s3cp doesnt

> s3cp Datafile http://datadex.archives.s3.amazonaws.com/datafile
unwanted http status 403: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><RequestId>2600157E524F24B8</RequestId><HostId>xTyjKUaYFAfnNav3lLMecWRWazuzwm6V6pakKBWebP4hW9YeD8cfm1t+Z7u2kwBr</HostId><AWSAccessKeyId></AWSAccessKeyId></Error>"

> s3cp http://datadex.archives.s3.amazonaws.com/datafile /dev/stdout
unwanted http status 403: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><RequestId>4544FB82A29E4170</RequestId><HostId>QIgtkNkWnWKTWFKO13/RhcVucU2hbhrgN1++cvBE1Nccirv9W3RGLle7TM4k4gtA</HostId><AWSAccessKeyId></AWSAccessKeyId></Error>"
@akshayrawat
Copy link

+1 - Also support pre-signed URLs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants