StudyToCert

All certifications / Cloud Practitioner / Lessons

AWS Certified Cloud Practitioner CLF-C02 · Domain 2: Security and Compliance

Encryption at rest and in transit: AWS KMS, AWS CloudHSM and AWS Certificate Manager

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Encryption scrambles information so only someone with the right key can unscramble it. You need it in two situations. When data is sitting still, like files saved on a disk, that is "at rest." When data is traveling, like your credit card number going from your phone to a website, that is "in transit," and the padlock icon in your browser means it is protected. AWS Key Management Service (KMS) creates and guards the keys used to lock stored data. AWS CloudHSM gives you your own dedicated key-safe hardware if rules require it. AWS Certificate Manager (ACM) hands out and renews the certificates that make the browser padlock work.

It is 11:40 p.m. on a holiday Friday at Juniper Books, and the online store is down. Customers see a browser warning that the connection is not private. Sam, on call, digs in and finds the cause: the site's TLS certificate expired an hour ago, and the person who renewed it last year has left. On Monday, the CTO wants a plan so this never happens again, along with an answer from the auditors about whether order data on disk is encrypted and who can read it. Which AWS services solve each of these problems?

Encryption protects data so that only someone with the right key can read it. You need it in two places. Encryption at rest protects stored data, such as objects in Amazon Simple Storage Service (Amazon S3), volumes in Amazon Elastic Block Store (Amazon EBS) or rows in a database. Encryption in transit protects data moving across a network, usually with Transport Layer Security (TLS), which is what HTTPS uses. The Cloud Practitioner exam asks you to choose among three services that support these: AWS Key Management Service, AWS CloudHSM and AWS Certificate Manager. Keeping "at rest" and "in transit" straight is half the battle on these questions, because ACM helps only with data in transit, while KMS and CloudHSM handle the keys that protect data wherever it is stored.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 8 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Cloud Practitioner for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Cloud Practitioner study plan