GithubHelp home page GithubHelp logo

yngvark / aws-console-signin-robot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 74 KB

A tool that logs in to a specified account number in AWS Console

License: MIT License

Shell 22.98% Makefile 22.91% Kotlin 54.11%
automation aws login-system

aws-console-signin-robot's Introduction

aws-console-signin-robot

A tool that logs in to a specified account number in AWS Console. All it really does is CTRL+F on the signin page for an AWS account ID, clicks tab and presses enter. Useful if you have tons of accounts on the signin page and don't want to waste time finding the account.

Requirements

  • Java, at least version 12
    • Tip: Use SDKMAN and run sdk i java 14.0.2-zulu.
    • You also need to update the script aws-console-login, replace someuser with your username.
    • Or, delete the SDKMAN setup with something that works on your machine.

Installation

Run

git clone https://github.com/yngvark/robothelper-lib.git
cd robothelper-lib
make publish
cd ..

git clone [email protected]:yngvark/aws-console-signin-robot.git
cd aws-console-signin-robot
make install

To verify that it works, run aws-console-login 123, and see weird stuff happening:

$ aws-console-login 123
Logging in to AWS account: 123
^F123
^[

That's fine, this happens because we're not in a browser.

To run the command when we're in a browser focus, there are alternatives. The one that I currently use in XFCE is the following:

Usage alternative: Put shortcut on the application menu

cat <<EOF >> ~/.local/share/applications/my-aws-account-dev.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=aws-login-myaccount-dev
Exec=/usr/local/bin/aws-console-login 123456789012
Categories=Development;
Terminal=false
EOF

Usage alternative: With rofi

TODO

aws-console-signin-robot's People

Contributors

yngvark avatar

Watchers

 avatar  avatar

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.