Skip to content

Instantly share code, notes, and snippets.

Avatar

Carl Nordenfelt carlnordenfelt

  • by nordenfelt
  • Stockholm, Sweden
View GitHub Profile
@carlnordenfelt
carlnordenfelt / AWS_Credentials.md
Last active Jul 30, 2019
Easily swap between AWS Profiles without having to manage keys
View AWS_Credentials.md

Adding these scripts will give you the following aliases on your command line.

Note: the scripts are only tested on OSX

  • awsall - Lists all available AWS profiles
  • awswho - Let's you know what profile you are currently using
  • awsp profilename - Quickly swap to the provided profile name

Setup

  1. Create ~/.aws/alises.sh and copy the contents of the snippet.
You can’t perform that action at this time.