Comments (4)
Note that it's possible for a S3 bucket to even allow anonymous writes! Probably not a good idea, but AWS documentation does show how to do it.
from aws.
Here is an implementation, still needs a little work. https://github.com/joeyh/aws/commit/c99b298f40683e6a9ec6fdcc4896407d8073416e
from aws.
That patch definitely needs to support S3 v4 before it can be merged.
The handling of NoCredentials by signature is the other possibly concerning thing about it, since other modules use signature and would silently generate badly signed requests for NoCredentials as the patch stands. The affected modules are Iam, Ses, SimpleDb, and Sqs. Probably most of these do not support any kind of unauthenticated access. I don't see any good way to make those signal that they've been provided with SignatureData that they cannot support.
from aws.
I've updated my patch, and consider it mergeable now. Will send a pull request.
I changed my approach because NoCredentials broke too many other modules (more than I listed in my comment above). The new approach avoids breakage entirely. When a module does not support anonymous access, it will behave the same as if the user had specified an empty AWS access key and secret key.
from aws.
Related Issues (20)
- PutBucket versioning HOT 2
- add etag to PutObjectResponse
- add etag to GetBucketResponse HOT 1
- S3 Buckets with "." in the name cause TLS issues when running PutObject HOT 1
- v4 GetObject Signing HOT 5
- Support for network 3.x?
- DynamoDB conditions: Missing `attribute_not_exists`? HOT 2
- Json support for basic types
- `credentialsDefaultFile` references non-standard location
- Support HTTP and custom port in SES HOT 1
- SES no longer works HOT 2
- Build errors with aeson-2 HOT 3
- New maintainer or at least contributor HOT 8
- Kinesis support
- HTTP2 support
- unable to specify a region for S3 servers not in AWS HOT 2
- unable to specify User-Agent
- software design HOT 1
- Build error with aeson 2.2 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws.