View a markdown version of this page

解开封装 - Amazon Key Management Service
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)。

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

解开封装

以下示例显示了 Amazon CloudTrail 的日志条目 解开封装 操作。日志条目中省略了请求中传递的封装共享密钥。

{ "eventVersion": "1.11", "userIdentity": { "type": "IAMUser", "principalId": "EX_PRINCIPAL_ID", "arn": "arn:aws:iam::111122223333:user/Alice", "accountId": "111122223333", "accessKeyId": "EXAMPLE_KEY_ID", "userName": "Alice" }, "eventTime": "2026-10-18T19:10:44Z", "eventSource": "kms.amazonaws.com", "eventName": "Decapsulate", "awsRegion": "us-east-1", "sourceIPAddress": "192.0.2.0", "userAgent": "aws-sdk-java/2.30.22 md/io#async md/http#AwsCommonRuntime ...", "requestParameters": { "keyId": "1234abcd-12ab-34cd-56ef-1234567890ab", "encapsulationAlgorithm": "ML_KEM" }, "responseElements": null, "requestID": "23456237-41e6-4c39-a9c0-a264eb660a74", "eventID": "bcdef313-cb2b-478d-c5cb-a830e56bf632", "readOnly": true, "resources": [{ "accountId": "111122223333", "type": "AWS::KMS::Key", "ARN": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" }], "eventType": "AwsApiCall", "managementEvent": true, "recipientAccountId": "111122223333", "eventCategory": "Management", "tlsDetails": { "tlsVersion": "TLSv1.3", "cipherSuite": "TLS_AES_256_GCM_SHA384", "clientProvidedHostHeader": "kms.us-east-1.amazonaws.com", "keyExchange": "X25519MLKEM768" } }