AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added SAP ABAP code example for DeleteAccessKey API with error handling

Security assessment

Standard documentation update. While access key deletion is security-relevant, the change only shows SDK implementation without addressing specific vulnerabilities or security improvements.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_DeleteAccessKey_section.md b/code-library/latest/ug/iam_example_iam_DeleteAccessKey_section.md
index f9cef095a..7a90db61f 100644
--- a//code-library/latest/ug/iam_example_iam_DeleteAccessKey_section.md
+++ b//code-library/latest/ug/iam_example_iam_DeleteAccessKey_section.md
@@ -679,0 +680,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.
+            lo_iam->deleteaccesskey(
+              iv_accesskeyid = iv_access_key_id
+              iv_username = iv_user_name ).
+            MESSAGE 'Access key deleted successfully.' TYPE 'I'.
+          CATCH /aws1/cx_iamnosuchentityex.
+            MESSAGE 'Access key or user does not exist.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [DeleteAccessKey](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+