Giter Club home page Giter Club logo

aws-auth's People

Contributors

lukestoward avatar ryanfrench avatar

Stargazers

 avatar  avatar

Watchers

 avatar

aws-auth's Issues

Flags meant for the command are being parsed by the utility and not forwarded on

If I run a command aws-role --role-arn [role] aws cloudformation deploy --template foo then the tool will attempt to parse --template foo as a flag for the tool, not for the subsequent command.

To fix this, enforce that the --role-arn, and other flags for the tool, must be provided before the command to run, and anything after the command is ignored and passed directly to the executed command.

Read previous session from $HOME/.aws-auth/sessions

Instead of assuming a role each time, check if there is a previously stored session in $HOME/.aws-role/sessions for the arn. If it is still valid, set the environment variables from that session. If it has expired, delete it.

Save session details to $HOME/.aws-role/*

When a role is assumed, save the session details to $HOME/.aws-role/* so they can be read between runs.

Should include details of the role arn, session name, and time of expiration.

Add support for persistent roles via the "--persist" flag

If "--persist" is set in the command, export the environment variables to the shell session so that the role is used for all subsequent commands.

Should also allow the utility to be run with "--persist" and no command, to simply assume the role and set the required environment variables

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.