drone-plugins / drone-s3

Drone plugin for publishing artifacts to Amazon S3
http://plugins.drone.io/drone-plugins/drone-s3
Apache License 2.0
36 stars 64 forks source link

Need support for secret-less usage #1

Closed RomanSaveljev closed 8 years ago

RomanSaveljev commented 8 years ago

This will cover the usecase, when an EC2 instance is configured with an IAM role and aws CLI can figure out the credentials itself.

In my environment I can clearly upload files without credentials:

$ docker run --rm -it --entrypoint /usr/bin/aws plugins/drone-s3 s3 cp /usr/bin/aws s3://crossdev/tools/os/any/ --acl public-read --region eu-west-1
upload: usr/bin/aws to s3://crossdev/tools/os/any/aws

Possibly, the fix would be simply to remove the bailout shortcut

RomanSaveljev commented 8 years ago

Ok, the PR has been merged. Assigning to owners for closing..