AWS Security ChangesHomeSearch

AWS IAM medium security documentation change

Service: IAM · 2026-05-01 · Security-related medium

File: IAM/latest/UserGuide/id_roles_create_for-user.md

Summary

Corrected tagging target from 'user' to 'role' and updated documentation links

Security assessment

Consistent fix across role documentation: prevents security risks from misattributed tags that could affect permission boundaries or access policies.

Diff

diff --git a/IAM/latest/UserGuide/id_roles_create_for-user.md b/IAM/latest/UserGuide/id_roles_create_for-user.md
index 00cfe17cc..9b379f8fe 100644
--- a//IAM/latest/UserGuide/id_roles_create_for-user.md
+++ b//IAM/latest/UserGuide/id_roles_create_for-user.md
@@ -221 +221 @@ Remember that this is only the first half of the configuration required. You mus
-  3. (Optional) Add custom attributes to the user by attaching tags: [TagRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_TagRole.html)
+  3. (Optional) Add custom attributes to the role by attaching tags: [TagRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_TagRole.html)
@@ -223 +223 @@ Remember that this is only the first half of the configuration required. You mus
-For more information, see [Managing tags on IAM users (AWS CLI or AWS API)](./id_tags_users.html#id_tags_users_procs-cli-api).
+For more information, see [Managing tags on IAM roles (AWS CLI or AWS API)](./id_tags_roles.html#id_tags_roles_procs-cli-api).