Another blog post on something super simple that I always forgot the syntax for. Note that aws-cli has to be v2 for some of these commands.

Named profiles

Create a named profile:

aws configure --profile <new profile name>

List named profiles

List all AWS profiles you saved:

aws configure list-profiles