Skip to content

CLI tool to quickly switch configured AWS profiles

Notifications You must be signed in to change notification settings

Sh1d0w/aws-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Switch

Easily switch between AWS profiles.

Description

This CLI tool provides a quick way to switch between different AWS profiles in your terminal

Getting Started

Installing

First you need to have Deno installed.

After that to install the cli tool:

deno install --unstable --allow-env=HOME,AWS_PROFILE,TERM_PROGRAM --allow-read="$HOME/.aws/config" --allow-write="$HOME/.aws-switch.sh" --name=aws-switch https://deno.land/x/aws_switcher/cli.ts

Add an alias to your bash:

alias awsp='aws-switch && source ~/.aws-switch.sh'

Thats it!

Executing program

To switch AWS profile just run

awsp

and then select the profile you want from the select menu.

License

MIT

About

CLI tool to quickly switch configured AWS profiles

Resources

Stars

Watchers

Forks

Packages

No packages published