AWS IAM documentation change
Summary
Added SAP ABAP SDK code example for GetAccessKeyLastUsed action
Security assessment
The change adds documentation for access key auditing, which is security-related. It demonstrates proper implementation but doesn't address a specific vulnerability.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_GetAccessKeyLastUsed_section.md b/IAM/latest/UserGuide/iam_example_iam_GetAccessKeyLastUsed_section.md index e0cac890d..30633e355 100644 --- a//IAM/latest/UserGuide/iam_example_iam_GetAccessKeyLastUsed_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_GetAccessKeyLastUsed_section.md @@ -253,0 +254,26 @@ 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/iam#code-examples). + + + TRY. + oo_result = lo_iam->getaccesskeylastused( + iv_accesskeyid = iv_access_key_id ). + MESSAGE 'Retrieved access key last used information.' TYPE 'I'. + CATCH /aws1/cx_iamnosuchentityex. + MESSAGE 'Access key does not exist.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [GetAccessKeyLastUsed](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +