AWS Security ChangesHomeSearch

AWS IAM documentation change

Service: IAM · 2025-07-10 · Documentation low

File: IAM/latest/UserGuide/id_roles_use_switch-role-cli.md

Summary

Added JSON formatting blocks in CLI role switching examples

Security assessment

Formatting changes to existing cross-account access examples without security implications.

Diff

diff --git a/IAM/latest/UserGuide/id_roles_use_switch-role-cli.md b/IAM/latest/UserGuide/id_roles_use_switch-role-cli.md
index 751d8e6c7..51be45279 100644
--- a//IAM/latest/UserGuide/id_roles_use_switch-role-cli.md
+++ b//IAM/latest/UserGuide/id_roles_use_switch-role-cli.md
@@ -70,0 +71,6 @@ Imagine that you are using two AWS accounts, and you want to allow an applicatio
+JSON
+    
+
+****
+    
+    
@@ -110,0 +118,6 @@ Assume that the `efgh` cross-account role allows read-only Amazon S3 tasks on th
+JSON
+    
+
+****
+    
+    
@@ -144,0 +159,6 @@ The `efgh` role must allow the `abcd` instance profile role to assume it. To do
+JSON
+    
+
+****
+    
+