Comments (2)
Hi,
As mentioned in #49, I added the option to skip IAM authentication with an environment variable.
I've thought about the use-case you presented (building Docker images outside of EC2), and I'm not too fond of IP white-listing. When I encountered the same issue, I've worked around it by passing AWS API keys (use ARG not ENV, because ENV values are persisted in image, which is not what you want to do with API keys).
This was probably a little more complicated than necessary (involving some scripting), so I added in [50182a5] a fallback from IAM role to environment variable passed AWS API keys. You should be able to add to your Dockerfile
the following lines:
ARG AWS_ACCESS_KEY_ID=""
ARG AWS_SECRET_ACCESS_KEY=""
Add --build-arg AWS_ACCESS_KEY_ID=xxxx --build-arg AWS_SECRET_ACCESS_KEY=yyyy
to to your docker build
command-line
Sincerely,
Mathias
from yum-s3-iam.
I'm preparing a 1.2.0 with those changes
from yum-s3-iam.
Related Issues (20)
- Getting 403 Access Forbidden when accessing repomd.xml HOT 3
- CertificateError for bucket name with dots HOT 3
- fails to work in cn-north-1 HOT 3
- error in v1.1.1 when region is NoneType HOT 7
- Rename to yum-s3-iam-plugin HOT 2
- http[s]://s3.amazonaws.com/<bucket> URLs don't work HOT 5
- Problems using IAM role HOT 9
- Special value "_none_" for repository proxy is not handled correctly HOT 3
- Getting occasional failures which I would expect retries to handle
- Stop building with variable "Name:" in .spec file HOT 1
- Rename git repo to yum-plugin-s3-iam, to match RPM name HOT 1
- Using the s3 plugin with DNF HOT 9
- S3 URL deprecation
- S3 will stop accepting requests signed using SigV2 in all regions on June 24, 2019
- Link to instructions is dead. HOT 3
- Important Update From Author - Jun 5th, 2020 HOT 2
- Enumerate use-cases. HOT 2
- yum check-update --security command is not being handled by s3iam plugin HOT 4
- IMDSv2 breaks plugin
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 yum-s3-iam.