AWS Security ChangesHomeSearch

AWS systems-manager documentation change

Service: systems-manager · 2025-06-25 · Documentation medium

File: systems-manager/latest/userguide/example_ssm_ModifyDocumentPermission_section.md

Summary

Added examples for modifying document sharing permissions

Security assessment

Documents permission management features which are security-related, but doesn't address a specific vulnerability. Shows how to configure access controls.

Diff

diff --git a/systems-manager/latest/userguide/example_ssm_ModifyDocumentPermission_section.md b/systems-manager/latest/userguide/example_ssm_ModifyDocumentPermission_section.md
index 785bff21c..b5d5dcbc7 100644
--- a//systems-manager/latest/userguide/example_ssm_ModifyDocumentPermission_section.md
+++ b//systems-manager/latest/userguide/example_ssm_ModifyDocumentPermission_section.md
@@ -57,0 +58,20 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example adds "share" permissions to all accounts for a document. There is no output if the command succeeds.**
+    
+    
+    Edit-SSMDocumentPermission -Name "RunShellScript" -PermissionType "Share" -AccountIdsToAdd all
+    
+
+**Example 2: This example adds "share" permissions to a specific account for a document. There is no output if the command succeeds.**
+    
+    
+    Edit-SSMDocumentPermission -Name "RunShellScriptNew" -PermissionType "Share" -AccountIdsToAdd "123456789012"
+    
+
+  * For API details, see [ModifyDocumentPermission](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+