AWS Security ChangesHomeSearch

AWS code-library documentation change

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

File: code-library/latest/ug/secrets-manager_example_secrets_manager_GettingStarted_073_section.md

Summary

Added resource tagging to IAM roles and secret creation commands

Security assessment

Changes only introduce organizational tags. No modifications to secret policies, rotation configurations, or access permissions that would indicate security improvements.

Diff

diff --git a/code-library/latest/ug/secrets-manager_example_secrets_manager_GettingStarted_073_section.md b/code-library/latest/ug/secrets-manager_example_secrets_manager_GettingStarted_073_section.md
index 707c23552..c62a2ecc5 100644
--- a//code-library/latest/ug/secrets-manager_example_secrets_manager_GettingStarted_073_section.md
+++ b//code-library/latest/ug/secrets-manager_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)