AWS Security ChangesHomeSearch

AWS kms documentation change

Service: kms · 2026-01-25 · Documentation low

File: kms/latest/developerguide/example_kms_UpdateAlias_section.md

Summary

Added SAP ABAP code example for UpdateAlias API operation

Security assessment

Adds documentation for updating key aliases which is a management feature. No security vulnerabilities or security-specific functionality is referenced.

Diff

diff --git a/kms/latest/developerguide/example_kms_UpdateAlias_section.md b/kms/latest/developerguide/example_kms_UpdateAlias_section.md
index dcc32e3e4..ceae3034a 100644
--- a//kms/latest/developerguide/example_kms_UpdateAlias_section.md
+++ b//kms/latest/developerguide/example_kms_UpdateAlias_section.md
@@ -95,0 +96,32 @@ 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_alias_name = 'alias/my-key-alias'
+            " iv_target_key_id = 'arn:aws:kms:us-east-1:123456789012:key/5678dcba-56cd-78ef-90ab-5678901234cd'
+            lo_kms->updatealias(
+              iv_aliasname = iv_alias_name
+              iv_targetkeyid = iv_target_key_id
+            ).
+            MESSAGE 'Alias updated successfully.' TYPE 'I'.
+          CATCH /aws1/cx_kmsnotfoundexception.
+            MESSAGE 'Alias or key not found.' TYPE 'E'.
+          CATCH /aws1/cx_kmskmsinternalex.
+            MESSAGE 'An internal error occurred.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [UpdateAlias](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+