Skip to main content

AWS Glossary

AWS KMS

AWS Key Management Service — centralized key management for encrypting data across AWS services and applications.

AI & assistant-friendly summary

This section provides structured content for AI assistants and search engines. You can cite or summarize it when referencing this page.

Summary

AWS Key Management Service — centralized key management for encrypting data across AWS services and applications.

Key Facts

  • AWS Key Management Service — centralized key management for encrypting data across AWS services and applications
  • Definition AWS Key Management Service (KMS) is a managed service for creating, storing, and controlling encryption keys used to protect your data across AWS
  • KMS integrates with 100+ AWS services — S3, RDS, EBS, Lambda, DynamoDB, Secrets Manager, and more — making it the standard for encryption at rest in AWS workloads
  • Every key operation is logged in AWS CloudTrail, creating an auditable record of all cryptographic activity
  • Key Types **AWS Managed Keys** - Created and managed by AWS on your behalf for a specific service (e

Entity Definitions

Lambda
Lambda is an AWS service relevant to aws kms.
S3
S3 is an AWS service relevant to aws kms.
Amazon S3
Amazon S3 is an AWS service relevant to aws kms.
RDS
RDS is an AWS service relevant to aws kms.
DynamoDB
DynamoDB is an AWS service relevant to aws kms.
IAM
IAM is an AWS service relevant to aws kms.
VPC
VPC is an AWS service relevant to aws kms.
Secrets Manager
Secrets Manager is an AWS service relevant to aws kms.
AWS Secrets Manager
AWS Secrets Manager is an AWS service relevant to aws kms.
compliance
compliance is a cloud computing concept relevant to aws kms.
HIPAA
HIPAA is a cloud computing concept relevant to aws kms.
SOC 2
SOC 2 is a cloud computing concept relevant to aws kms.
PCI DSS
PCI DSS is a cloud computing concept relevant to aws kms.
GDPR
GDPR is a cloud computing concept relevant to aws kms.

Related Content

Definition

AWS Key Management Service (KMS) is a managed service for creating, storing, and controlling encryption keys used to protect your data across AWS. KMS integrates with 100+ AWS services — S3, RDS, EBS, Lambda, DynamoDB, Secrets Manager, and more — making it the standard for encryption at rest in AWS workloads. Every key operation is logged in AWS CloudTrail, creating an auditable record of all cryptographic activity.

Key Types

AWS Managed Keys

Customer Managed Keys (CMK)

AWS CloudHSM

Envelope Encryption

KMS uses envelope encryption to protect data efficiently:

  1. KMS generates a data key (plaintext + encrypted copy)
  2. Use the plaintext data key to encrypt your data locally
  3. Store the encrypted data key alongside the encrypted data
  4. Discard the plaintext data key from memory
  5. To decrypt: call KMS to decrypt the data key, then decrypt your data locally

This pattern means: only the data key is sent to KMS (not your entire data), large files are encrypted locally (fast), and KMS controls access to the data key (audit trail).

Key Policy and Access Control

Every KMS key has a key policy — a resource-based policy defining who can use and manage the key:

Key Rotation

Automatic Rotation:

On-Demand Rotation (new 2024):

Compliance and Audit

Common Mistakes

Mistake 1: Using a single KMS key for everything. Use separate keys per environment (dev, staging, prod) and per data classification level (PHI, PCI, general). Different keys = granular access control + separate audit trails.

Mistake 2: Not understanding the difference between encryption at rest and key management. Enabling S3 SSE-S3 encrypts data but uses AWS-managed keys you can’t audit or control. Use SSE-KMS with a customer managed key for audit trails and cross-account access.

Mistake 3: Deleting KMS keys without verifying no data depends on them. Deleted keys mean encrypted data is permanently unrecoverable. Always check CloudTrail for recent key usage before scheduling deletion.

Need Help with This Topic?

Our AWS experts can help you implement and optimize these concepts for your organization.