Comments (4)
@SydOps There would be a little bit of work to support this enhancement request. I think the most simplistic approach would be to add support for AWS_DEFAULT_PROFILE
.
Would something like this work for your use case?
AWS_DEFAULT_PROFILE=stage awssume <terraform command>
from awssume.
That's better. Accept system environments and feed with options in command.
from awssume.
One more feature is, even run in default account (the source profile), we should support STS to generate temp token (that mean we don't use the default api account directly) , then we have same setting across all platforms/accounts.
In boto/python, it is call get_session_token
,
http://boto.cloudhackers.com/en/latest/ref/sts.html#boto.sts.STSConnection.get_session_token
Different with assume role (http://boto.cloudhackers.com/en/latest/ref/sts.html#boto.sts.STSConnection.assume_role)
from awssume.
@SydOps I apologies for the lack of movement or feedback on this issue. After some thinking I don't feel this gem should cover this specific use case. This gem was written so that EC2 instances with Instance Profiles could assume a role and use the resulting credentials to do some work. In our case Instance Profiles are preferred over having shared profile/credential files on the EC2 instance. I'm going to close this issue but please feel free to open other issues or pull requests in the future. Thank you for your contributions to this thread!
from awssume.
Related Issues (5)
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 awssume.