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. Note that the list is based on the.aws/credentials
file.awswho
- Lets you know what profile you are currently usingawssso profilename
- Quickly signin using AWS IAM Identity Center (Recommended)awsp profilename
- Similar to awssso but for use with IAM User & Assume Role