GithubHelp home page GithubHelp logo

IAM Role support about deb-s3 HOT 4 CLOSED

krobertson avatar krobertson commented on July 20, 2024
IAM Role support

from deb-s3.

Comments (4)

jjshoe avatar jjshoe commented on July 20, 2024

http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/Core/CredentialProviders/AssumeRoleProvider.html

from deb-s3.

jjshoe avatar jjshoe commented on July 20, 2024

The DefaultProvider claims to try this as a fallback in the Ruby SDK docs, but doesn't seem to be the case here.

from deb-s3.

twmartin avatar twmartin commented on July 20, 2024

@jjshoe - I believe deb-s3 will support authentication through IAM roles. I was running into difficulty during upload attempts before I realized that I needed to allow s3:PutObjectAcl in addition to s3:PutObject in my IAM role policy.

from deb-s3.

gaieges avatar gaieges commented on July 20, 2024

I've had success with an instance role and a IAM policy behind that being able to upload to s3 using deb-s3.

However, the one piece of feedback I would leave is to ensure that the PutObjectAcl requirement (and in general what a minimum IAM policy is needed for this) is included in documentation. I spent a bit of time trying to figure out what the proper minimum policy needed to allow this to work was, before finding this thread (thanks @twmartin!).

from deb-s3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.