AWS Security ChangesHomeSearch

AWS cli medium security documentation change

Service: cli · 2025-05-16 · Security-related medium

File: cli/v1/userguide/install-macos.md

Summary

Updated Python version requirements and corrected AWS CLI uninstall command

Security assessment

The `rm -rf ~/.aws/` change ensures complete removal of credentials during uninstallation, mitigating risks of lingering sensitive data. This addresses a potential security risk.

Diff

diff --git a/cli/v1/userguide/install-macos.md b/cli/v1/userguide/install-macos.md
index ecd149972..32d3858fc 100644
--- a//cli/v1/userguide/install-macos.md
+++ b//cli/v1/userguide/install-macos.md
@@ -34 +34,2 @@ AWS CLI version | Supported Python version
-1.32.0 – current | Python 3.8+  
+1.39.0 – current | Python 3.9+  
+1.32.0 – 1.38.38 | Python 3.8+  
@@ -355 +356 @@ The default location of the `.aws` folder differs between platforms, by default
-        $ sudo rm ~/.aws/
+        $ sudo rm -rf ~/.aws/