List Your AWS CLI Profiles
How do you list your AWS CLI profiles from the terminal?
AWSAWS CLI

To list your AWS CLI profiles you open your terminal and type this command:
typescript
aws configure list-profiles
You’re terminal will give you output similar to the following:

Each profile is associated with an AWS SSO login. You can use them by appending --profile <your-profile-here> to any command. This uses the profile’s SSO login to execute the command. For example:
bash
aws s3 ls --profile admin-1
This lists the buckets stored on s3 for the admin-1 SSO login.