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