Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 484 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 484 Bytes

aws_profile

A shell script that helps switch AWS profiles for AWS command line tools. Supports using MFA in profiles.

Install

git clone https://github.com/bqbn/aws_profile.git

Usage

  1. Source the script on the command line session or put the source command in .bashrc or .bash_profile file.

    source aws_profile.sh
  2. Run the aws_profile command to switch among AWS profiles.

    aws_profile <profile> [mfa_token]