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