AWS Key Management Service (AWS KMS) provides cryptographic keys secured by FIPS 140-2 certified hardware security modules (HSMs) at scale. This document describes the cryptographic operations of AWS KMS, including how it uses algorithms like AES-GCM and RSA for encryption, signatures, key establishment and derivation. It also details how AWS KMS establishes a customer's key hierarchy with customer master keys that are represented on the HSMs.