Sophie

Sophie

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

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

**To add a tag to a user**

The following ``tag-user`` command adds a tag with the associated Department to the specified user. This command produces no output. ::

    aws iam tag-user --user-name alice --tags '{"Key": "Department", "Value": "Accounting"}'

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