Comments (2)
@webframp Thanks for bringing up your use case! I'd be very open to a PR to add this as an optional argument to pass through.
If that's not something you're up for, try this. We typically use aws-vault
to handle fetching creds and assuming a role, so our .aws/config
looks like this:
[profile myprofile]
mfa_serial=arn:aws:iam::1234567890:mfa/myuser
role_arn=arn:aws:iam::1234567890:role/myRole
credential_process=aws-vault exec myprofile --json --prompt=osascript
and we invoke the run like this so that the temp/assumed role creds grabbed by aws-vault pass in as ENV vars to the container:
$ aws-vault exec myprofile -- make run-eks awsregion=us-east-1 clustername=eks1
from mkit.
Closing this for now, but we'd take a PR on this anytime. Thanks!
from mkit.
Related Issues (8)
- SSL validation failed for https://eks.us-east-1.amazonaws.com/clusters/ HOT 1
- Switch to inspect mode Issue
- Undefined method 'dig' for nil:NilClass HOT 20
- False positive on NAC/Ensure the AWS EKS Cluster is not public HOT 2
- ERROR: Could not find a valid gem 'cinc-auditor-bin' (= 4.18.51) in any repository HOT 1
- mkit cant find AWS Credentials HOT 6
- run Error HOT 4
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 mkit.