AWS code-library documentation change
Summary
Added SAP ABAP SDK code example for ListKeys operation
Security assessment
The change adds documentation for KMS ListKeys operation using SAP ABAP SDK. While KMS is a security service, this change only provides routine code examples without addressing vulnerabilities or security incidents.
Diff
diff --git a/code-library/latest/ug/kms_example_kms_Hello_section.md b/code-library/latest/ug/kms_example_kms_Hello_section.md index 984e4ed4d..8acbfdb4a 100644 --- a//code-library/latest/ug/kms_example_kms_Hello_section.md +++ b//code-library/latest/ug/kms_example_kms_Hello_section.md @@ -119,0 +120,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_. + + + +