AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-06-16 · Documentation low

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

Summary

Updated section title and added SAP ABAP SDK implementation example

Security assessment

Adds code examples for certificate creation (security feature) without evidence of vulnerability remediation. The SAP ABAP implementation shows secure credential generation but doesn't address specific security issues.

Diff

diff --git a/code-library/latest/ug/iot_example_iot_CreateKeysAndCertificate_section.md b/code-library/latest/ug/iot_example_iot_CreateKeysAndCertificate_section.md
index b8ce9b42f..911b24603 100644
--- a//code-library/latest/ug/iot_example_iot_CreateKeysAndCertificate_section.md
+++ b//code-library/latest/ug/iot_example_iot_CreateKeysAndCertificate_section.md
@@ -17 +17 @@ Action examples are code excerpts from larger programs and must be run in contex
-  * [Getting started with IoT Core](./iot_example_iot_GettingStarted_063_section.html)
+  * [Getting started with internet of things messaging](./iot_example_iot_GettingStarted_063_section.html)
@@ -358,0 +359,29 @@ 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/iot#code-examples). 
+    
+    
+        CONSTANTS cv_pfl TYPE /aws1/rt_profile_id VALUE 'ZCODE_DEMO'.
+        DATA(lo_session) = /aws1/cl_rt_session_aws=>create( cv_pfl ).
+        DATA(lo_iot) = /aws1/cl_iot_factory=>create( lo_session ).
+        TRY.
+            oo_result = lo_iot->createkeysandcertificate( iv_setasactive = abap_true ).
+            MESSAGE |Certificate created: { oo_result->get_certificateid( ) }| TYPE 'I'.
+          CATCH /aws1/cx_rt_service_generic INTO DATA(lo_ex).
+            MESSAGE lo_ex->get_text( ) TYPE 'I'.
+            RAISE EXCEPTION lo_ex.
+        ENDTRY.
+    
+    
+
+  * For API details, see [CreateKeysAndCertificate](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+