Giter Site home page Giter Site logo

aws-mfa's Introduction

aws-mfa

Tool to manage MFA credentials with multiple AWS profiles

Installation

Step 1 (Optional)

Create and activate a virtual environment to install aws-mfa into. For example with conda this may look like

conda create --name aws-mfa-env python=3.10
conda activate aws-mfa-env

Step 2

Install aws-mfa

pip install git+https://github.com/nlangellier/aws-mfa.git@main

Step 3 (Optional)

If a virtual environment was created in step 1, an alias can be added to your .bashrc file to allow execution of aws-mfa from anywhere in any environment. Using the example in step 1, run the following command to append to your .bashrc file:

echo 'alias aws-mfa="conda run --name aws-mfa-env --live-stream aws-mfa"' >> $HOME/.bashrc
source $HOME/.bashrc

If you used another virtual environment manager besides conda, then replace "conda run --name aws-mfa-env --live-stream aws-mfa" above with a relevant shell command to run aws-mfa in the environment created in step 1. If you use another shell, replace .bashrc with the relevant file. E.g. if you use zsh, then replace .bashrc with .zshrc.

Command Line Usage

aws-mfa

aws-mfa's People

Contributors

nlangellier avatar

Watchers

 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.