AWS kms documentation change
Summary
Added SAP ABAP code example for RetireGrant API operation
Security assessment
The change adds documentation for retiring grants which controls cryptographic access. While grants are security features, there's no evidence this addresses a specific vulnerability.
Diff
diff --git a/kms/latest/developerguide/example_kms_RetireGrant_section.md b/kms/latest/developerguide/example_kms_RetireGrant_section.md index 60fa117c7..075b7dee3 100644 --- a//kms/latest/developerguide/example_kms_RetireGrant_section.md +++ b//kms/latest/developerguide/example_kms_RetireGrant_section.md @@ -86,0 +87,30 @@ 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_grant_token = 'AQpAM2RhZ...' + lo_kms->retiregrant( iv_granttoken = iv_grant_token ). + MESSAGE 'Grant retired successfully.' TYPE 'I'. + CATCH /aws1/cx_kmsnotfoundexception. + MESSAGE 'Grant not found.' TYPE 'E'. + CATCH /aws1/cx_kmsinvgranttokenex. + MESSAGE 'Invalid grant token.' TYPE 'E'. + CATCH /aws1/cx_kmskmsinternalex. + MESSAGE 'An internal error occurred.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [RetireGrant](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +