AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-01-25 · Documentation low

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

Summary

Added SAP ABAP code example for ListAccessKeys API

Security assessment

The change adds a new code example for SAP ABAP SDK without modifying security content. Listing access keys is a standard IAM operation with no evidence of addressing vulnerabilities.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_ListAccessKeys_section.md b/code-library/latest/ug/iam_example_iam_ListAccessKeys_section.md
index a602628da..d52433e34 100644
--- a//code-library/latest/ug/iam_example_iam_ListAccessKeys_section.md
+++ b//code-library/latest/ug/iam_example_iam_ListAccessKeys_section.md
@@ -684,0 +685,26 @@ This example module lists, creates, deactivates, and deletes access keys.
+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->listaccesskeys(
+              iv_username = iv_user_name ).
+            MESSAGE 'Retrieved access key list.' TYPE 'I'.
+          CATCH /aws1/cx_iamnosuchentityex.
+            MESSAGE 'User does not exist.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [ListAccessKeys](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+