AWS Security ChangesHomeSearch

AWS IAM documentation change

Service: IAM · 2026-01-25 · Documentation low

File: IAM/latest/UserGuide/iam_example_iam_GetAccountPasswordPolicy_section.md

Summary

Added SAP ABAP SDK code example for GetAccountPasswordPolicy action

Security assessment

The change documents password policy retrieval, which is security-related. It demonstrates proper implementation of password security controls but doesn't address a specific vulnerability.

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_GetAccountPasswordPolicy_section.md b/IAM/latest/UserGuide/iam_example_iam_GetAccountPasswordPolicy_section.md
index c2716ef1e..3d93a73e3 100644
--- a//IAM/latest/UserGuide/iam_example_iam_GetAccountPasswordPolicy_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_GetAccountPasswordPolicy_section.md
@@ -359,0 +360,27 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+
+
+
+
+SAP ABAP
+    
+
+**SDK for SAP ABAP**
+    
+
+###### Note
+
+There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/sap-abap/services/iam#code-examples). 
+    
+    
+        TRY.
+            oo_result = lo_iam->getaccountpasswordpolicy( ).
+            MESSAGE 'Retrieved account password policy.' TYPE 'I'.
+          CATCH /aws1/cx_iamnosuchentityex.
+            MESSAGE 'No password policy exists.' TYPE 'I'.
+          CATCH /aws1/cx_iamservicefailureex.
+            MESSAGE 'Service failure when getting password policy.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [GetAccountPasswordPolicy](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_.