**To list the tags attached to a user**

The following ``list-user-tags`` command retrieves the list of tags associated with the specified IAM user. ::

    aws iam list-user-tags --user-name alice

    Output::
  {
      "Tags": [
          {
              "Key": "Department",
              "Value": "Accounting"
          },
          {
              "Key": "DeptID",
              "Value": "12345"
          }
      ],
      "IsTruncated": false
  }
               

For more information, see `Tagging IAM Entities`_ in the *AWS IAM User Guide*

.. _`Tagging IAM Entities`: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
