seporaitis / yum-s3-iam

Yum package manager plugin for private S3 repositories. Uses Amazon IAM & EC2 Roles.
Apache License 2.0
162 stars 99 forks source link

Pull delegated_role configuration into repository object #50

Closed jonnangle closed 7 years ago

jonnangle commented 8 years ago

delegated_role wasn't working for me, because the configuration option wasn't making it through to the repository object.

jonnangle commented 8 years ago

I discovered another problem - the requests to S3 were being signed with the instance's region, instead of the S3 bucket's region. This caused failures whenever the bucket and instance were in different regions. I've added a commit to fix this.