AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added tagging commands for IAM roles and Secrets Manager secret

Security assessment

Changes implement organizational tagging. Secrets Manager security features aren't modified or documented.

Diff

diff --git a/code-library/latest/ug/iam_example_secrets_manager_GettingStarted_073_section.md b/code-library/latest/ug/iam_example_secrets_manager_GettingStarted_073_section.md
index c32b2cfb7..9a26dfeaa 100644
--- a//code-library/latest/ug/iam_example_secrets_manager_GettingStarted_073_section.md
+++ b//code-library/latest/ug/iam_example_secrets_manager_GettingStarted_073_section.md
@@ -168,0 +169 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+    aws iam tag-role --role-name "$ADMIN_ROLE_NAME" --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-secrets-manager-gs
@@ -186,0 +188 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+    aws iam tag-role --role-name "$RUNTIME_ROLE_NAME" --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-secrets-manager-gs
@@ -207 +209,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-        --add-replica-regions 'Region=us-east-1' 2>&1)
+        --add-replica-regions 'Region=us-east-1' \
+        --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-secrets-manager-gs 2>&1)