taoensso / faraday

Amazon DynamoDB client for Clojure
https://www.taoensso.com/faraday
Eclipse Public License 1.0
238 stars 84 forks source link

Client with AWS security chain #12

Closed amanas closed 10 years ago

amanas commented 10 years ago

It should be possible to create a dynamo client without BasicAWSCredentials and delegaty authorization to AWS.

ptaoussanis commented 10 years ago

Hi, I'll be able to look into this more easily if you can provide some more details (example, etc).

Cheers! :-)

amanas commented 10 years ago

AmazonDynamoDBClient has a constructor without creadentials. It is used in the case you delegate security to AWS roles, policies and this kind of stuff. Which is extremely useful when you plan to run your service inside E2. However, your client does not cover this functionality. You should allow creating a client without credentials and allow usage of your functions (get-item, delete-item...) without specifying credentials.

I hope you find this suggestion constructive.

ptaoussanis commented 10 years ago

Okay, great - didn't know about that facility. Pushed as 1.0.0-RC3, thanks.