- GenerateDataKeyWithoutPlaintext
-
{
"eventVersion": "1.08",
"userIdentity": {
"type": "AWSService",
"invokedBy": "ec2-frontend-api.amazonaws.com"
},
"eventTime": "2024-04-23T18:08:13Z",
"eventSource": "kms.amazonaws.com",
"eventName": "GenerateDataKeyWithoutPlaintext",
"awsRegion": "us-west-2
",
"sourceIPAddress": "ec2-frontend-api.amazonaws.com",
"userAgent": "ec2-frontend-api.amazonaws.com",
"requestParameters": {
"numberOfBytes": 64,
"keyId": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
",
"encryptionContext": {
"aws:ecs:clusterAccount": "account-id
",
"aws:ebs:id": "vol-xxxxxxx
",
"aws:ecs:clusterName": "cluster-name
"
}
},
"responseElements": null,
"requestID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222
",
"eventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333
",
"readOnly": true,
"resources": [
{
"accountId": "AWS Internal",
"type": "AWS::KMS::Key",
"ARN": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
"
}
],
"eventType": "AwsApiCall",
"managementEvent": true,
"recipientAccountId": "account-id
",
"sharedEventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa
",
"eventCategory": "Management"
}
- GenerateDataKeyWithoutPlaintext (DryRun)
-
{
"eventVersion": "1.08",
"userIdentity": {
"type": "AWSService",
"invokedBy": "fargate.amazonaws.com"
},
"eventTime": "2024-04-23T18:08:11Z",
"eventSource": "kms.amazonaws.com",
"eventName": "GenerateDataKeyWithoutPlaintext",
"awsRegion": "us-west-2
",
"sourceIPAddress": "fargate.amazonaws.com",
"userAgent": "fargate.amazonaws.com",
"errorCode": "DryRunOperationException",
"errorMessage": "The request would have succeeded, but the DryRun option is set.",
"requestParameters": {
"keyId": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
",
"dryRun": true,
"numberOfBytes": 64,
"encryptionContext": {
"aws:ecs:clusterAccount": "account-id
",
"aws:ecs:clusterName": "cluster-name
"
}
},
"responseElements": null,
"requestID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222
",
"eventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333
",
"readOnly": true,
"resources": [
{
"accountId": "AWS Internal",
"type": "AWS::KMS::Key",
"ARN": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
"
}
],
"eventType": "AwsApiCall",
"managementEvent": true,
"recipientAccountId": "account-id
",
"sharedEventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa
",
"eventCategory": "Management"
}
- CreateGrant
-
{
"eventVersion": "1.08",
"userIdentity": {
"type": "AWSService",
"invokedBy": "ec2-frontend-api.amazonaws.com"
},
"eventTime": "2024-04-23T18:08:13Z",
"eventSource": "kms.amazonaws.com",
"eventName": "CreateGrant",
"awsRegion": "us-west-2
",
"sourceIPAddress": "ec2-frontend-api.amazonaws.com",
"userAgent": "ec2-frontend-api.amazonaws.com",
"requestParameters": {
"keyId": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
",
"granteePrincipal": "fargate.us-west-2
.amazonaws.com",
"operations": [
"Decrypt"
],
"constraints": {
"encryptionContextSubset": {
"aws:ecs:clusterAccount": "account-id
",
"aws:ebs:id": "vol-xxxx",
"aws:ecs:clusterName": "cluster-name
"
}
},
"retiringPrincipal": "ec2.us-west-2
.amazonaws.com"
},
"responseElements": {
"grantId": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
",
"keyId": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
"
},
"requestID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222
",
"eventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333
",
"readOnly": false,
"resources": [
{
"accountId": "AWS Internal",
"type": "AWS::KMS::Key",
"ARN": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
"
}
],
"eventType": "AwsApiCall",
"managementEvent": true,
"recipientAccountId": "account-id
",
"sharedEventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa
",
"eventCategory": "Management"
}
- CreateGrant (DryRun)
-
{
"eventVersion": "1.08",
"userIdentity": {
"type": "AWSService",
"invokedBy": "fargate.amazonaws.com"
},
"eventTime": "2024-04-23T18:08:11Z",
"eventSource": "kms.amazonaws.com",
"eventName": "CreateGrant",
"awsRegion": "us-west-2
",
"sourceIPAddress": "fargate.amazonaws.com",
"userAgent": "fargate.amazonaws.com",
"errorCode": "DryRunOperationException",
"errorMessage": "The request would have succeeded, but the DryRun option is set.",
"requestParameters": {
"keyId": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
",
"granteePrincipal": "fargate.us-west-2
.amazonaws.com",
"dryRun": true,
"operations": [
"Decrypt"
],
"constraints": {
"encryptionContextSubset": {
"aws:ecs:clusterAccount": "account-id
",
"aws:ecs:clusterName": "cluster-name
"
}
}
},
"responseElements": null,
"requestID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222
",
"eventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333
",
"readOnly": false,
"resources": [
{
"accountId": "AWS Internal",
"type": "AWS::KMS::Key",
"ARN": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
"
}
],
"eventType": "AwsApiCall",
"managementEvent": true,
"recipientAccountId": "account-id
",
"sharedEventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa
",
"eventCategory": "Management"
}
- RetireGrant
-
{
"eventVersion": "1.08",
"userIdentity": {
"type": "AWSService",
"invokedBy": "AWS Internal"
},
"eventTime": "2024-04-20T18:37:38Z",
"eventSource": "kms.amazonaws.com",
"eventName": "RetireGrant",
"awsRegion": "us-west-2
",
"sourceIPAddress": "AWS Internal",
"userAgent": "AWS Internal",
"requestParameters": null,
"responseElements": {
"keyId": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
"
},
"additionalEventData": {
"grantId": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
"
},
"requestID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222
",
"eventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333
",
"readOnly": false,
"resources": [
{
"accountId": "AWS Internal",
"type": "AWS::KMS::Key",
"ARN": "arn:aws:kms:us-west-2
:account-id
:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
"
}
],
"eventType": "AwsApiCall",
"managementEvent": true,
"recipientAccountId": "account-id
",
"sharedEventID": "a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa
",
"eventCategory": "Management"
}