AWS Key Management Service (KMS)


AWS Key Management Service (KMS) is a managed service that makes it easy for you to create and control the encryption keys used to encrypt your data.

Enable this integration to see in Datadog all your KMS metrics.



If you haven’t already, set up the Amazon Web Services integration first.

Metric collection

  1. In the AWS integration page, ensure that KMS is enabled under the Metric Collection tab.

  2. Install the Datadog - AWS Key Management Service (KMS) integration.

Log collection

Enable logging

Configure AWS KMS to send logs either to a S3 bucket or to CloudWatch.

Note: If you log to a S3 bucket, make sure that amazon_kms is set as Target prefix.

Send logs to Datadog

  1. If you haven’t already, set up the Datadog Forwarder Lambda function.

  2. Once the Lambda function is installed, manually add a trigger on the S3 bucket or CloudWatch log group that contains your AWS KMS logs in the AWS console:

Data Collected


This metric tracks the number of seconds remaining until imported key material expires.
Shown as second

Each of the metrics retrieved from AWS are assigned the same tags that appear in the AWS console, including but not limited to host name, security-groups, and more.


The AWS KMS integration does not include any events.

Service Checks

The AWS KMS integration does not include any service checks.


Need help? Contact Datadog support.