AWS Security ChangesHomeSearch

AWS IAM documentation change

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

File: IAM/latest/UserGuide/iam_example_iam_GetCredentialReport_section.md

Summary

Added SAP ABAP SDK example code for GetCredentialReport API

Security assessment

Credential reports are security features that help identify compromised credentials. While the change doesn't fix vulnerabilities, it documents a security feature by providing example usage.

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_GetCredentialReport_section.md b/IAM/latest/UserGuide/iam_example_iam_GetCredentialReport_section.md
index 62fef3e91..ee7028bb3 100644
--- a//IAM/latest/UserGuide/iam_example_iam_GetCredentialReport_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_GetCredentialReport_section.md
@@ -146,0 +147,31 @@ 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->getcredentialreport( ).
+            MESSAGE 'Retrieved credential report.' TYPE 'I'.
+          CATCH /aws1/cx_iamcredrptnotpresen00.
+            MESSAGE 'Credential report not present.' TYPE 'E'.
+          CATCH /aws1/cx_iamcredrptexpiredex.
+            MESSAGE 'Credential report expired.' TYPE 'E'.
+          CATCH /aws1/cx_iamcredrptnotreadyex.
+            MESSAGE 'Credential report not ready.' TYPE 'E'.
+          CATCH /aws1/cx_iamservicefailureex.
+            MESSAGE 'Service failure when getting credential report.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [GetCredentialReport](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+