Amazon Chime SDK Voice Connectors send requests to AWS KMS, and you can track those requests in CloudTrail or CloudWatch logs.
When you use a customer managed key to create a voice profile domain
resource, the associated Voice Connector sends a CreateGrant
request on your behalf to access the KMS key in your AWS account. The grant
that the Voice Connector creates is specific to the resource associated with
the customer managed key. The Voice Connector also uses the
RetireGrant
operation to remove a grant when you delete a
resource.
The following example records a CreateGrant
operation.
{
"eventVersion": "1.08",
"userIdentity": {
"type": "AssumedRole",
"principalId": "AROAIGDTESTANDEXAMPLE
:Sampleuser01
",
"arn": "arn:aws:sts::111122223333
:assumed-role/Admin/Sampleuser01
",
"accountId": "111122223333
",
"accessKeyId": "AKIAIOSFODNN7EXAMPLE3
",
"sessionContext": {
"sessionIssuer": {
"type": "Role",
"principalId": "AROAIGDTESTANDEXAMPLE
:Sampleuser01
",
"arn": "arn:aws:sts::111122223333
:assumed-role/Admin/Sampleuser01
",
"accountId": "111122223333
",
"userName": "Admin"
},
"webIdFederationData": {},
"attributes": {
"mfaAuthenticated": "false",
"creationDate": "2021-04-22T17:02:00Z
"
}
},
"invokedBy": "AWS Internal"
},
"eventTime": "2021-04-22T17:07:02Z
",
"eventSource": "kms.amazonaws.com",
"eventName": "CreateGrant",
"awsRegion": "us-west-2",
"sourceIPAddress": "172.12.34.56",
"userAgent": "ExampleDesktop
/1.0 (V1; OS)",
"requestParameters": {
"constraints": {
"encryptionContextSubset": {
"aws:chime:voice-profile-domain:arn": "arn:aws:chime:us-west-2:111122223333
:voice-profile-domain/sample-domain-id"
}
},
"retiringPrincipal": "chimevoiceconnector.region.amazonaws.com",
"operations": [
"GenerateDataKey",
"Decrypt",
"DescribeKey",
"RetireGrant"
],
"keyId": "arn:aws:kms:us-west-2:111122223333
:key/1234abcd-12ab-34cd-56ef-123456SAMPLE",
"granteePrincipal": "chimevoiceconnector.region.amazonaws.com",
"retiringPrincipal": "chimevoiceconnector.region.amazonaws.com"
},
"responseElements": {
"grantId": "0ab0ac0d0b000f00ea00cc0a0e00fc00bce000c000f0000000c0bc0a0000aaafSAMPLE"
},
"requestID": "ff000af-00eb-00ce-0e00-ea000fb0fba0SAMPLE
",
"eventID": "ff000af-00eb-00ce-0e00-ea000fb0fba0SAMPLE
",
"readOnly": false,
"resources": [
{
"accountId": "111122223333
",
"type": "AWS::KMS::Key",
"ARN": "arn:aws:kms:us-west-2:111122223333
:key/1234abcd-12ab-34cd-56ef-123456SAMPLE"
}
],
"eventType": "AwsApiCall",
"managementEvent": true,
"eventCategory": "Management",
"recipientAccountId": "111122223333
"
}