• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Search

AWS CLI Add Tags to IAM User

July 22, 2019

How to add tags to an existing IAM user via AWS CLI.

aws iam tag-user \
--user-name john.doe \
--tags '{"Key": "Department", "Value": "Accounting"}'

aws iam tag-user \ --user-name john.doe \ --tags '{"Key": "Department", "Value": "Accounting"}'

Multiple tags.

aws iam tag-user \
--user-name john.doe \
--tags '[{"Key": "Department", "Value": "Accounting"},{"Key": "Manager", "Value": "jane.doe"}]'

aws iam tag-user \ --user-name john.doe \ --tags '[{"Key": "Department", "Value": "Accounting"},{"Key": "Manager", "Value": "jane.doe"}]'

Filed Under: Cloud Tagged With: aws, cli, iam, tags, user

Subscribe Via Email

  • Home
  • About
  • Search

Copyright © 2023