AWS Security ChangesHomeSearch

AWS IAM documentation change

Service: IAM · 2025-06-25 · Documentation low

File: IAM/latest/UserGuide/iam_example_iam_ResyncMfaDevice_section.md

Summary

Added PowerShell V5 examples for resyncing MFA devices

Security assessment

MFA resynchronization is a security feature, but the change only documents its usage without addressing a vulnerability.

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_ResyncMfaDevice_section.md b/IAM/latest/UserGuide/iam_example_iam_ResyncMfaDevice_section.md
index b7f8a5b26..912c6a604 100644
--- a//IAM/latest/UserGuide/iam_example_iam_ResyncMfaDevice_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_ResyncMfaDevice_section.md
@@ -58,0 +59,20 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example synchronizes the MFA device that is associated with the IAM user`Bob` and whose ARN is `arn:aws:iam::123456789012:mfa/bob` with an authenticator program that provided the two authentication codes.**
+    
+    
+    Sync-IAMMFADevice -SerialNumber arn:aws:iam::123456789012:mfa/theresa -AuthenticationCode1 123456 -AuthenticationCode2 987654 -UserName Bob
+    
+
+**Example 2: This example synchronizes the IAM MFA device that is associated with the IAM user`Theresa` with a physical device that has the serial number `ABCD12345678` and that provided the two authentication codes.**
+    
+    
+    Sync-IAMMFADevice -SerialNumber ABCD12345678 -AuthenticationCode1 123456 -AuthenticationCode2 987654 -UserName Theresa
+    
+
+  * For API details, see [ResyncMfaDevice](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+