AWS kms documentation change
Summary
Added SAP ABAP SDK code example for CreateKey operation
Security assessment
Added example for KMS key creation with error handling. Documents fundamental security feature (key management) but doesn't address specific security issues.
Diff
diff --git a/kms/latest/developerguide/example_kms_CreateKey_section.md b/kms/latest/developerguide/example_kms_CreateKey_section.md index ec563512a..f936993d6 100644 --- a//kms/latest/developerguide/example_kms_CreateKey_section.md +++ b//kms/latest/developerguide/example_kms_CreateKey_section.md @@ -668,0 +669,28 @@ 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. + " iv_description = 'Created by the AWS SDK for SAP ABAP' + oo_result = lo_kms->createkey( iv_description = iv_description ). + MESSAGE 'KMS key created successfully.' TYPE 'I'. + CATCH /aws1/cx_kmskmsinternalex. + MESSAGE 'An internal error occurred.' TYPE 'E'. + CATCH /aws1/cx_kmslimitexceededex. + MESSAGE 'Limit exceeded for KMS resources.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [CreateKey](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +