AWS Security ChangesHomeSearch

AWS IAM documentation change

Service: IAM · 2025-06-25 · Documentation low

File: IAM/latest/UserGuide/iam_example_iam_AttachGroupPolicy_section.md

Summary

Added PowerShell V5 examples for attaching policies to groups

Security assessment

Documents security feature (policy management) without addressing specific vulnerabilities

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_AttachGroupPolicy_section.md b/IAM/latest/UserGuide/iam_example_iam_AttachGroupPolicy_section.md
index 4f1fa9de9..2bd5d8b0f 100644
--- a//IAM/latest/UserGuide/iam_example_iam_AttachGroupPolicy_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_AttachGroupPolicy_section.md
@@ -56,0 +57,20 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example attaches the customer managed policy named`TesterPolicy` to the IAM group `Testers`. The users in that group are immediately affected by the permissions defined in the default version of that policy.**
+    
+    
+    Register-IAMGroupPolicy -GroupName Testers -PolicyArn arn:aws:iam::123456789012:policy/TesterPolicy
+    
+
+**Example 2: This example attaches the AWS managed policy named`AdministratorAccess` to the IAM group `Admins`. The users in that group are immediately affected by the permissions defined in the latest version of that policy.**
+    
+    
+    Register-IAMGroupPolicy -GroupName Admins -PolicyArn arn:aws:iam::aws:policy/AdministratorAccess
+    
+
+  * For API details, see [AttachGroupPolicy](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+