AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/iam_example_iam_DeleteAccountPasswordPolicy_section.md

Summary

Added PowerShell V5 example for deleting account password policies

Security assessment

Documents management of password policies (a security feature), though the example shows policy removal rather than security hardening.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_DeleteAccountPasswordPolicy_section.md b/code-library/latest/ug/iam_example_iam_DeleteAccountPasswordPolicy_section.md
index 78fbf591e..856663c92 100644
--- a//code-library/latest/ug/iam_example_iam_DeleteAccountPasswordPolicy_section.md
+++ b//code-library/latest/ug/iam_example_iam_DeleteAccountPasswordPolicy_section.md
@@ -50,0 +51,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example deletes the password policy for the AWS account and resets all values to their original defaults. If a password policy does not currently exist, the following error message appears: The account policy with name PasswordPolicy cannot be found.**
+    
+    
+    Remove-IAMAccountPasswordPolicy
+    
+
+  * For API details, see [DeleteAccountPasswordPolicy](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+