AWS Security ChangesHomeSearch

AWS aurora-dsql medium security documentation change

Service: aurora-dsql · 2026-03-13 · Security-related medium

File: aurora-dsql/latest/userguide/working-with-service-linked-roles.md

Summary

Updated IAM policy statement for service-linked role creation to use proper iam:CreateServiceLinkedRole action with service name condition

Security assessment

The change fixes a potentially dangerous policy by replacing dsql:CreateCluster resource-specific permissions with properly scoped iam:CreateServiceLinkedRole action and service name condition. This prevents overprivileged access by enforcing correct service-linked role creation constraints.

Diff

diff --git a/aurora-dsql/latest/userguide/working-with-service-linked-roles.md b/aurora-dsql/latest/userguide/working-with-service-linked-roles.md
index 420452b32..50da0d675 100644
--- a//aurora-dsql/latest/userguide/working-with-service-linked-roles.md
+++ b//aurora-dsql/latest/userguide/working-with-service-linked-roles.md
@@ -36,6 +36,9 @@ JSON
-                "Action": ["dsql:CreateCluster"], 
-                "Resource": [
-                    "arn:aws:dsql:us-east-1:*:cluster/*",
-                    "arn:aws:dsql:us-east-2:*:cluster/*"
-                ],
-                "Effect": "Allow"
+                "Sid": "CreateDsqlServiceLinkedRole",
+                "Effect": "Allow",
+                "Action": "iam:CreateServiceLinkedRole",
+                "Resource": "*",
+                "Condition": {
+                    "StringEquals": {
+                        "iam:AWSServiceName": "dsql.amazonaws.com"
+                    }
+                }