Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 1215

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**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