Sophie

Sophie

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

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

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

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

    aws iam list-role-tags --role-name production-role

    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