AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example for DeleteLoginProfile with console access warning

Security assessment

Documents access control management but doesn't reference a specific security incident

Diff

diff --git a/code-library/latest/ug/iam_example_iam_DeleteLoginProfile_section.md b/code-library/latest/ug/iam_example_iam_DeleteLoginProfile_section.md
index e06423a22..d56daf0c6 100644
--- a//code-library/latest/ug/iam_example_iam_DeleteLoginProfile_section.md
+++ b//code-library/latest/ug/iam_example_iam_DeleteLoginProfile_section.md
@@ -51,0 +52,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example deletes the login profile from the IAM user named`Bob`. This prevents the user from signing-in to the AWS console. It does not prevent the user from running any AWS CLI, PowerShell, or API calls using AWS access keys that might still be attached to the user account.**
+    
+    
+    Remove-IAMLoginProfile -UserName Bob
+    
+
+  * For API details, see [DeleteLoginProfile](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+