AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added resource tagging to AWS CLI commands for secret creation, IAM roles, Redshift cluster, and Redshift workgroup

Security assessment

Tags are added for resource organization only. No security-related changes to secret handling, access controls, or authentication mechanisms are present.

Diff

diff --git a/code-library/latest/ug/secrets-manager_example_redshift_GettingStarted_038_section.md b/code-library/latest/ug/secrets-manager_example_redshift_GettingStarted_038_section.md
index a92e4442b..59fa01c7e 100644
--- a//code-library/latest/ug/secrets-manager_example_redshift_GettingStarted_038_section.md
+++ b//code-library/latest/ug/secrets-manager_example_redshift_GettingStarted_038_section.md
@@ -128 +128,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-        --secret-string "{\"username\":\"$username\",\"password\":\"$password\"}" 2>&1)
+        --secret-string "{\"username\":\"$username\",\"password\":\"$password\"}" \
+        --tags Key=project,Value=doc-smith Key=tutorial,Value=redshift-serverless 2>&1)
@@ -346,0 +348,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=redshift-serverless
@@ -365 +368,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-      --db-name "$DB_NAME" 2>&1)
+      --db-name "$DB_NAME" \
+      --tags Key=project,Value=doc-smith Key=tutorial,Value=redshift-serverless 2>&1)
@@ -386 +390,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-      --base-capacity 8 2>&1)
+      --base-capacity 8 \
+      --tags Key=project,Value=doc-smith Key=tutorial,Value=redshift-serverless 2>&1)