AWS code-library documentation change
Summary
Added SAP ABAP SDK code example for ListKeys operation
Security assessment
Documents KMS key listing with SAP ABAP SDK. The change demonstrates normal API usage patterns without addressing security vulnerabilities or incidents.
Diff
diff --git a/code-library/latest/ug/kms_example_kms_ListKeys_section.md b/code-library/latest/ug/kms_example_kms_ListKeys_section.md index f20a7c5d0..7944436ff 100644 --- a//code-library/latest/ug/kms_example_kms_ListKeys_section.md +++ b//code-library/latest/ug/kms_example_kms_ListKeys_section.md @@ -349,0 +350,25 @@ 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/kms#code-examples). + + + TRY. + oo_result = lo_kms->listkeys( ). + MESSAGE 'Retrieved KMS keys list.' TYPE 'I'. + CATCH /aws1/cx_kmskmsinternalex. + MESSAGE 'An internal error occurred.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [ListKeys](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +