AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added tagging to Redshift secrets, IAM roles, namespaces and workgroups

Security assessment

Changes only add resource tags for management purposes. No security weaknesses are addressed nor security features documented.

Diff

diff --git a/code-library/latest/ug/redshift_example_redshift_GettingStarted_038_section.md b/code-library/latest/ug/redshift_example_redshift_GettingStarted_038_section.md
index d1e2ee168..f97081dd8 100644
--- a//code-library/latest/ug/redshift_example_redshift_GettingStarted_038_section.md
+++ b//code-library/latest/ug/redshift_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)