AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-05-04 · Documentation low

File: code-library/latest/ug/iam_example_iam_GettingStarted_046_section.md

Summary

Added tagging commands for IAM policies and roles

Security assessment

Tagging changes are administrative and unrelated to security vulnerabilities or security feature documentation.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_GettingStarted_046_section.md b/code-library/latest/ug/iam_example_iam_GettingStarted_046_section.md
index f4b8fec52..caa92bef2 100644
--- a//code-library/latest/ug/iam_example_iam_GettingStarted_046_section.md
+++ b//code-library/latest/ug/iam_example_iam_GettingStarted_046_section.md
@@ -421,0 +422,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+    aws iam tag-policy --policy-arn "$POLICY_ARN" \
+      --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-systems-manager-gs
@@ -488,0 +491,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+    aws iam tag-role --role-name "$ROLE_NAME" \
+      --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-systems-manager-gs