Skip to main content

Amazon KMS Monitoring in ObserveOps

Overview

The Amazon KMS integration with ObserveOps (formerly known as AIOps) collects configuration inventory and request telemetry from AWS Key Management Service. It monitors key states, rotation settings, key material expiry, grant counts, cryptographic request volumes, throttle rates, and external key store proxy health.

These metrics help security teams track key lifecycle status, detect approaching expirations, identify throttling on cryptographic operations, and monitor the health of external key store integrations.

Prerequisites

  • AWS KMS is enabled in the target AWS account and region.
  • The IAM role or user used for integration has read access to KMS resources (kms:ListKeys, kms:DescribeKey, kms:ListAliases, kms:ListGrants, cloudwatch:GetMetricData).
  • Required KMS and CloudWatch API endpoints are reachable from ObserveOps.
  • The AWS account is added in discovery with correct credentials and region configuration.

List of Supported KPIs

Key Configuration

MetricDescriptionType
aws.kms.key.stateCurrent state of the KMS key.String
aws.kms.rotation.enabledIndicates whether automatic key rotation is enabled.Boolean
aws.kms.deletion.window.secondsNumber of seconds remaining in the key's scheduled deletion window.Seconds
aws.kms.rotation.next.secondsSeconds until the next automatic key rotation.Seconds
aws.kms.aliasesNumber of aliases assigned to the KMS key.Count
aws.kms.grantsNumber of active grants on the KMS key.Count
aws.kms.key.material.expiry.secondsSeconds until the imported key material expires.Seconds

Requests

MetricDescriptionType
aws.kms.requestsTotal number of cryptographic API requests made to the key.Count
aws.kms.cloudhsm.keystore.throttlesNumber of requests throttled due to CloudHSM custom key store limits.Count
aws.kms.external.keystore.throttlesNumber of requests throttled due to external key store limits.Count
aws.kms.xks.proxy.errorsNumber of errors returned by the external key store proxy.Count

External Key Store (XKS)

MetricDescriptionType
aws.kms.xks.proxy.latency.msLatency of requests to the external key store proxy in milliseconds.Milliseconds
aws.kms.xks.key.manager.instancesNumber of active key manager instances in the external key store.Count
aws.kms.xks.proxy.certificate.expiry.secondsSeconds until the external key store proxy TLS certificate expires.Seconds
aws.kms.xks.proxy.credential.age.secondsAge of the external key store proxy authentication credentials in seconds.Seconds