View a markdown version of this page

KeyLastUsageData - Amazon Key Management Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

KeyLastUsageData

Contains usage information about the last time the KMS key was used for a successful cryptographic operation.

Contents

Note

In the following list, the required parameters are described first.

CloudTrailEventId

The CloudTrail eventId associated with the last successful cryptographic operation. Absent if the key has not been used since Amazon KMS began tracking.

Type: String

Required: No

KmsRequestId

The Amazon KMS request ID associated with the last successful cryptographic operation. Absent if the key has not been used since Amazon KMS began tracking.

Type: String

Required: No

Operation

The last successful cryptographic operation the KMS key was used for. Absent if the key has not been used since Amazon KMS began tracking.

Type: String

Valid Values: Decrypt | DeriveSharedSecret | Encrypt | GenerateDataKey | GenerateDataKeyPair | GenerateDataKeyPairWithoutPlaintext | GenerateDataKeyWithoutPlaintext | GenerateMac | ReEncrypt | Sign | Verify | VerifyMac

Required: No

Timestamp

The date and time when the KMS key was most recently used for a successful cryptographic operation. Absent if the key has not been used since Amazon KMS began tracking.

Type: Timestamp

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: