Code Monkey home page Code Monkey logo

aws-sts-assumerole's People

Contributors

ddewaele avatar rik2803 avatar wardvandale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aws-sts-assumerole's Issues

Prompt for ECS host to connect to

aws-ssh ecs returns the ssh commands that can be used to connect to a ECS host.

It would be nice if a prompt would be displayed and the host to connect to could be selected by entering a number.

Load SSH key if specified in profile

When a full path to a SSH private key is available in a profile, try to load it.

Things to take into account:

  • Default SSH server config allows 6 keys in the agent, connection will fail if your key is 7th in the row
  • What if private key is password protected

Could not open file

I understand that it's not too hard error, but still:

$ assumerole my_profile
jq: error: Could not open file /Users/houdini/.assumerole: No such file or directory
Select from these available accounts:

jq: error: Could not open file /Users/houdini/.assumerole: No such file or directory
jq: error: Could not open file /Users/houdini/.assumerole: No such file or directory
jq: error: Could not open file /Users/houdini/.assumerole: No such file or directory
jq: error: Could not open file /Users/houdini/.assumerole: No such file or directory
jq: error: Could not open file /Users/houdini/.assumerole: No such file or directory
jq: error: Could not open file /Users/houdini/.assumerole: No such file or directory
jq: error: Could not open file /Users/houdini/.assumerole: No such file or directory
MFA token: ^C

Set environment variable AWS_ACCOUNT_ID

Currently the environment variable AWS_ACCOUNT is set to the name of the account. It would be nice if the variable AWS_ACCOUNT_ID would be set to the ID of the account. This can be used to create unique global resource names such as S3 bucket names.

Set custom environment

Set custom environment variables in the assumerole shell if defined in the
assumerole profile in the configuration file:

      "aws_profile": "my-bastion",
      "aws_account": "123456789012",
      "aws_mfa_arn": "arn:aws:iam::123456789012:mfa/me",
      "aws_role": "admin",
      "environment": [
        {
          "name": "MYVAR1",
          "value": "MYVALUE1"
        },
        {
          "name": "MYVAR1",
          "value": "MYVALUE1"
        }
      ]
    },
    ...

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.