aws check all profile code example Example: aws cli profiles list aws configure list [--profile profile-name]