**To list account aliases** The following ``list-account-aliases`` command lists the aliases for the current account. :: aws iam list-account-aliases Output:: { "AccountAliases": [ "mycompany" ] } For more information, see `Your AWS account ID and its alias `__ in the *AWS IAM User Guide*.