GithubHelp home page GithubHelp logo

suggestion for profile setting about awssume HOT 4 CLOSED

manheim avatar manheim commented on July 28, 2024
suggestion for profile setting

from awssume.

Comments (4)

reppard avatar reppard commented on July 28, 2024

@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.

ozbillwang avatar ozbillwang commented on July 28, 2024

@reppard

That's better. Accept system environments and feed with options in command.

from awssume.

ozbillwang avatar ozbillwang commented on July 28, 2024

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.

reppard avatar reppard commented on July 28, 2024

@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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.